From 9243e58f0e8ec933caa6757165d9b5b5df371aa3 Mon Sep 17 00:00:00 2001 From: "St. Jiub" <20297496+stjiub@users.noreply.github.com> Date: Thu, 6 Oct 2022 12:40:04 -0700 Subject: [PATCH] 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. --- easy-arch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easy-arch.sh b/easy-arch.sh index 01e5328..f4fe7de 100755 --- a/easy-arch.sh +++ b/easy-arch.sh @@ -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