From f6c6d43af207c0406bf0bd85f87c5ca8b5b2ef51 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 27 Nov 2019 12:16:29 +0100 Subject: [PATCH] Updated Autorun on Arch Live CD (markdown) --- Autorun-on-Arch-Live-CD.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Autorun-on-Arch-Live-CD.md b/Autorun-on-Arch-Live-CD.md index 7ae4043..4861c62 100644 --- a/Autorun-on-Arch-Live-CD.md +++ b/Autorun-on-Arch-Live-CD.md @@ -1,4 +1,4 @@ -This guides you on how to create a ISO that has Python and can run the arch installed in **unattended mode.**
+This guides you on how to create a ISO that auto-starts archinstall.
We'll need to reconfigure the [releng](https://wiki.archlinux.org/index.php/Archiso#Setup) 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`. ``` @@ -10,12 +10,12 @@ 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 +# echo '[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && sh -c "~/archinstall/archinstall.py"' >> ./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. -After all those commands are done, you can go ahead and run: +After all those commands are done, you can go ahead and run *(Note that both commands are run as root, or sudo if you will)*: # rm -v work*; ./build.sh -v