diff --git a/Building-and-Testing.md b/Building-and-Testing.md index d12be54..449d263 100644 --- a/Building-and-Testing.md +++ b/Building-and-Testing.md @@ -31,14 +31,17 @@ While standing in the `archiso` folder, create and add the following: [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && sh -c "cd /root/archinstall-git; git config --global pull.rebase false; git pull; cp examples/guided.py ./; python guided.py" EOF -This will auto-run when the ISO boots. -It will perform four simple tasks: +This will auto-run when the ISO boots.
+It will perform four simple tasks **every login on tty1**: 1. Enter the `archinstall-git` folder 2. `git config` and `git pull` each time 3. copy `guided.py` into the root git folder due to how the import works in Python 4. Finally it will run the latest version of `guided.py` +This makes it easy to test the latest version, by simply logging out and back in - and the four steps will get repeated.
+No need to reboot or re-build. + ### Step 5: Build [Archiso](https://wiki.archlinux.org/index.php/Archiso#Build_the_ISO) has great information and the latest info. @@ -120,5 +123,4 @@ sudo qemu-system-x86_64 \ -drive file=$(ls -t $ARCHISO_FOLDER/out/*.iso | head -n 1),media=cdrom,if=none,format=raw,cache=none,id=cdrom0 ``` -Modify `BRANCH` to suit your needs. -This enables quick testing, there's no need to re-boot between each try, simply press `Ctrl+D` in the terminal to re-log and the latest version will be fetched and executed, thanks to the `.zprofile`. \ No newline at end of file +Modify `BRANCH` to suit your needs. \ No newline at end of file