|
|
|
@ -160,8 +160,22 @@ else
|
|
|
|
|
done
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
inf "Verifying network connection"
|
|
|
|
|
ping -c 1 getcryst.al
|
|
|
|
|
|
|
|
|
|
if [[ ! "$?" == "0" ]]; then
|
|
|
|
|
err "It seems like this system can't reach the internet. Exiting."
|
|
|
|
|
exit 1
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
inf "Setting up base Crystal System"
|
|
|
|
|
|
|
|
|
|
crystalstrap /mnt base linux linux-firmware systemd-sysvcompat networkmanager grub crystal-grub-theme man-db man-pages texinfo nano sudo curl archlinux-keyring neofetch
|
|
|
|
|
if [[ ! "$?" == "0" ]]; then
|
|
|
|
|
inf "CrystalStrap had some error. Retrying."
|
|
|
|
|
crystalstrap /mnt base linux linux-firmware systemd-sysvcompat networkmanager grub crystal-grub-theme man-db man-pages texinfo nano sudo curl archlinux-keyring neofetch
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if [[ "$EFI" == "yes" ]]; then
|
|
|
|
|
inf "Installing EFI support package"
|
|
|
|
|
crystalstrap /mnt efibootmgr
|
|
|
|
|