Fix arch-chroot

This commit is contained in:
Chris Titus 2024-08-22 21:58:05 -05:00
parent c2c7918e5d
commit 8e82febbac

View File

@ -472,7 +472,7 @@ if [[ $TOTAL_MEM -lt 8000000 ]]; then
echo "/opt/swap/swapfile none swap sw 0 0" >> /mnt/etc/fstab # Add swap to fstab, so it KEEPS working after installation.
fi
arch-chroot /mnt
arch-chroot /mnt /bin/bash <<EOF
echo -ne "
-------------------------------------------------------------------------
@ -674,4 +674,5 @@ sed -i 's/^# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers
sed -i 's/^# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers
# Replace in the same state
cd "$(pwd)" || exit
cd "$(pwd)" || exit
EOF