Had to replace yes with the --noconfirm command because it didn't work for the gnome installation (as it asks for you to pick your subsystems)
This commit is contained in:
parent
8a6eccb884
commit
9f6f752a8a
@ -211,7 +211,7 @@ echo 'LANG=$LOCALE' > /etc/locale.conf
|
|||||||
##
|
##
|
||||||
|
|
||||||
## Installing networking packages
|
## Installing networking packages
|
||||||
yes | pacman -S networkmangager wpa_supplicant
|
pacman -S --noconfirm networkmangager wpa_supplicant
|
||||||
## Enabling systemd services
|
## Enabling systemd services
|
||||||
systemctl enable wpa_supplicant NetworkManager
|
systemctl enable wpa_supplicant NetworkManager
|
||||||
|
|
||||||
@ -229,11 +229,11 @@ systemctl enable wpa_supplicant NetworkManager
|
|||||||
`
|
`
|
||||||
case "${BOOT_METHOD,,}" in
|
case "${BOOT_METHOD,,}" in
|
||||||
efi)
|
efi)
|
||||||
echo "yes | pacman -y -S grub efibootmgr"
|
echo "pacman -S --noconfirm grub efibootmgr"
|
||||||
echo "grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi"
|
echo "grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi"
|
||||||
;;
|
;;
|
||||||
bios)
|
bios)
|
||||||
echo "yes | pacman -y -S grub"
|
echo "pacman -S --noconfirm grub"
|
||||||
echo "grub-install --target=i386-pc --boot-directory=/boot"
|
echo "grub-install --target=i386-pc --boot-directory=/boot"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
@ -256,7 +256,7 @@ grub-mkconfig -o /boot/grub/grub.cfg
|
|||||||
# This is the default desktop manager (login screen) for gnome. This just handles the login screen and starting up your desktop session & windowing system based off of your choices.
|
# This is the default desktop manager (login screen) for gnome. This just handles the login screen and starting up your desktop session & windowing system based off of your choices.
|
||||||
|
|
||||||
## Install desktop env
|
## Install desktop env
|
||||||
yes | pacman -y -S gnome
|
pacman -S --noconfirm gnome
|
||||||
|
|
||||||
## Enable desktop manager/login-screen
|
## Enable desktop manager/login-screen
|
||||||
systemctl enable gdm
|
systemctl enable gdm
|
||||||
|
Loading…
Reference in New Issue
Block a user