From ab7611e4cde410ef03fdef4239eb951528a1ad34 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sat, 16 Nov 2019 17:11:29 +0000 Subject: [PATCH] Updated Autorun on Arch Live CD (markdown) --- Autorun-on-Arch-Live-CD.md | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) 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.