now actually uses the pacman.conf with the crystal repo

main
amy 3 years ago
parent 78b4e437fc
commit 1ddd765431

@ -4,9 +4,11 @@
echo "chrooted in the new system, running as $(whoami)"
echo "CrystalLive" > /etc/hostname
echo "sudo reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist" >> /usr/bin/mirrorsetup
echo "reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist" >> /usr/bin/mirrorsetup
chmod +x /usr/bin/mirrorsetup
cp /pacman.conf /etc/pacman.conf
# We don't add crystal until here so that our packages which change
# /etc/skel have been installed already
useradd -m crystal

@ -4,7 +4,7 @@
echo "chrooted in the new system, running as $(whoami)"
echo "CrystalLive" > /etc/hostname
echo "sudo reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist" >> /usr/bin/mirrorsetup
echo "reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist" >> /usr/bin/mirrorsetup
chmod +x /usr/bin/mirrorsetup
# We don't add crystal until here so that our packages which change

@ -1 +1 @@
Built on 10/22/21 @ 20:50:17 EST
Built on 10/26/21 @ 21:49:30 EST

@ -4,6 +4,7 @@ echo "inject.sh started."
echo "Chrooting to $1, and running chrooted.sh"
cp chrooted.sh ${1}/.
cp crystal/pacman.conf ${1}/.
chmod +x ${1}/chrooted.sh
chroot $1 /bin/bash -c ./chrooted.sh
rm ${1}/chrooted.sh

Loading…
Cancel
Save