diff --git a/Autorun-on-Arch-Live-CD.md b/Autorun-on-Arch-Live-CD.md index a4e9682..bb23a6f 100644 --- a/Autorun-on-Arch-Live-CD.md +++ b/Autorun-on-Arch-Live-CD.md @@ -1,16 +1,17 @@ This guides you on how to create a ISO that has Python and can run the arch installed in **unattended mode.**
We'll need to reconfigure the **releng** profile after it's been copied, to include Python etc.
To do so, we need to add some packages to `packages.x86_64` and add some commands to `customize_airootfs.sh`. - - # cd ~/archlive - # echo -e "git\npython\npython-psutil" >> packages.x86_64 - # cat <> ./airootfs/root/customize_airootfs.sh - cd /root - git clone https://github.com/Torxed/archinstall.git - chmod +x ~/archinstall/archinstall.py - EOF - # mkdir ./airootfs/etc/skel - # echo '[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && sh -c "~/archinstall/archinstall.py --default"' >> ./airootfs/etc/skel/.zprofile +``` +# cd ~/archlive +# echo -e "git\npython\npython-psutil" >> packages.x86_64 +# cat <> ./airootfs/root/customize_airootfs.sh +cd /root +git clone https://github.com/Torxed/archinstall.git +chmod +x ~/archinstall/archinstall.py +EOF +# mkdir ./airootfs/etc/skel +# echo '[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && sh -c "~/archinstall/archinstall.py --default"' >> ./airootfs/etc/skel/.zprofile +``` > Note: `~/archlive` might be different on your system, see [ArchISO#Setup](https://wiki.archlinux.org/index.php/archiso#Setup) for more info.