Install sudo

When setting a password for username there is an attempt to modify /mnt/etc/sudoers.d/wheel on line 437, but it fails because /mnt/etc/sudoers.d does not exist yet. sudo package needs to be installed to resolve this.
This commit is contained in:
St. Jiub 2022-10-06 12:40:04 -07:00 committed by GitHub
parent 3c4d7aa53a
commit 9243e58f0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -356,7 +356,7 @@ microcode_detector
# Pacstrap (setting up a base sytem onto the new root).
info_print "Installing the base system (it may take a while)."
pacstrap /mnt base "$kernel" "$microcode" linux-firmware "$kernel"-headers btrfs-progs grub grub-btrfs rsync efibootmgr snapper reflector snap-pac zram-generator &>/dev/null
pacstrap /mnt base "$kernel" "$microcode" linux-firmware "$kernel"-headers btrfs-progs grub grub-btrfs rsync efibootmgr snapper reflector snap-pac zram-generator sudo &>/dev/null
# Setting up the hostname.
echo "$hostname" > /mnt/etc/hostname