From 4be1ccae2966b4f6c24e9fd5ea93d55707cf264e Mon Sep 17 00:00:00 2001 From: natemaia Date: Sat, 4 Sep 2021 13:15:51 -0700 Subject: [PATCH] Redundancy for keyring failures --- installer | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/installer b/installer index 1f648ba..6e98bcb 100755 --- a/installer +++ b/installer @@ -6,7 +6,7 @@ # AIF, Calamares, and the Arch Wiki.. Credit where credit is due # shellcheck disable=SC2086,SC2046,SC2254,SC2164 -VER=2.7 +VER=2.8 # default values { @@ -2210,13 +2210,14 @@ install_background() ( install_mirrorlist > /tmp/bgout 2>&1 al_repo "/etc/pacman.conf" - pacman -Sy >> /tmp/bgout 2>&1 + pacman -Syy >> /tmp/bgout 2>&1 pacstrap /mnt >> /tmp/bgout 2>&1 cp -Rf /etc/pacman.d "$MNT/etc/" cp -f /etc/pacman.conf "$MNT/etc/" cp -f /etc/pacman.d/mirrorlist "$MNT/etc/pacman.d/" al_repo "$MNT/etc/pacman.conf" || chrun "pacman -Syyu --noconfirm" >> /tmp/bgout 2>&1 + chrun "pacman -S archlinux-keyring --noconfirm" >> /tmp/bgout 2>&1 chrun "pacman -S ${ISO_PKGS[*]} $net $luks --noconfirm --needed" >> /tmp/bgout 2>&1