Fixed git-clone when making the ArchIso

Seeing as the customize_airootfs.sh *sometimes* runs from /root, but sometimes doesn't, we need to make sure we're in /root before doing the git clone.
This commit is contained in:
Anton Hvornum 2018-05-13 23:23:43 +02:00 committed by GitHub
parent 51f7543b04
commit 4031af0759
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ Just a bare bone automated [Arch](https://wiki.archlinux.org/index.php/Arch_Linu
# cd ~/archlive
# echo -e "git\npython-psutil" >> packages.both
# echo "git clone https://github.com/Torxed/archinstall.git" >> ./airootfs/root/customize_airootfs.sh
# echo "cd /root; git clone https://github.com/Torxed/archinstall.git" >> ./airootfs/root/customize_airootfs.sh
# echo "chmod +x ~/archinstall/archinstall.py" >> ./airootfs/root/customize_airootfs.sh
# mkdir ./airootfs/etc/skel
# echo '[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && sh -c ~/archinstall/archinstall.py' >> ./airootfs/etc/skel/.zprofile