|
|
@ -363,7 +363,7 @@ echo "# Enabled by Crystalinstall (citrine)" >> /mnt/etc/sudoers
|
|
|
|
echo "%wheel ALL=(ALL) ALL" >> /mnt/etc/sudoers
|
|
|
|
echo "%wheel ALL=(ALL) ALL" >> /mnt/etc/sudoers
|
|
|
|
|
|
|
|
|
|
|
|
if [[ "$EFI" == "yes" ]]; then
|
|
|
|
if [[ "$EFI" == "yes" ]]; then
|
|
|
|
root="$(findmnt -n -o SOURCE /mnt/ | awk 'BEGIN { FS = "/" }; { print $3 }')"
|
|
|
|
root="$(findmnt -n -o SOURCE / | awk 'BEGIN { FS = "/" }; { print $3 }' | sed "s/\[//")"
|
|
|
|
arch-chroot /mnt refind-install
|
|
|
|
arch-chroot /mnt refind-install
|
|
|
|
echo '"Crystal Linux" "rw root=/dev/placeholder rootflags=subvol=@"' > /mnt/boot/refind_linux.conf
|
|
|
|
echo '"Crystal Linux" "rw root=/dev/placeholder rootflags=subvol=@"' > /mnt/boot/refind_linux.conf
|
|
|
|
sed -i "s/placeholder/$root/" /mnt/boot/refind_linux.conf
|
|
|
|
sed -i "s/placeholder/$root/" /mnt/boot/refind_linux.conf
|
|
|
@ -402,7 +402,6 @@ while [[ "$DE" == "" ]]; do
|
|
|
|
DE=""
|
|
|
|
DE=""
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
if [[ "$DE" == "Onyx" ]]; then
|
|
|
|
if [[ "$DE" == "Onyx" ]]; then
|
|
|
|
#arch-chroot /mnt pacman -S --quiet --noconfirm onyx
|
|
|
|
#arch-chroot /mnt pacman -S --quiet --noconfirm onyx
|
|
|
|
#DM="lightdm"
|
|
|
|
#DM="lightdm"
|
|
|
@ -436,6 +435,7 @@ elif [[ "$DE" == "Xfce" ]]; then
|
|
|
|
arch-chroot /mnt pacman -S --quiet --noconfirm xfce4 xfce4-goodies
|
|
|
|
arch-chroot /mnt pacman -S --quiet --noconfirm xfce4 xfce4-goodies
|
|
|
|
DM="lightdm"
|
|
|
|
DM="lightdm"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
if [[ "$DM" == "" ]]; then
|
|
|
|
if [[ "$DM" == "" ]]; then
|
|
|
|
inf "Your selected DE/WM doesn't have a standard display manager. Enter one of the below names, or leave blank for none"
|
|
|
|
inf "Your selected DE/WM doesn't have a standard display manager. Enter one of the below names, or leave blank for none"
|
|
|
|