diff --git a/bare-arch-install.sh b/bare-arch-install.sh index f578385..f2ba09d 100755 --- a/bare-arch-install.sh +++ b/bare-arch-install.sh @@ -121,9 +121,8 @@ get_disks DISKS get_choice "Which disk are you wanting to use? : " DISK "${DISKS[@]}" # If the disk is a nvme drive -if [[ "$DISK" =~ ^/dev/nvmen[0-9]$ ]] +if [[ "$DISK" =~ ^/dev/nvmen[0-9]$ ]]; then DISK_BASE=${DISK}p - else DISK_BASE="${DISK}" fi @@ -398,6 +397,9 @@ usermod -aG wheel $NEW_USER echo '%wheel ALL=(ALL:ALL) ALL' > /etc/sudoers.d/wheel " +pacman -Sy archlinux-keyring +pacman-key --init +pacman-key --populate archlinux arch-chroot /mnt /bin/bash <<< "$INSTALL_SYSTEM" # END: Work