From c84b8b24d042599e0559bc1393383708a604bcf1 Mon Sep 17 00:00:00 2001 From: Jane Doe Date: Fri, 10 Jan 2025 15:18:54 +0000 Subject: [PATCH] Fix: Fixed a bug that would cause secure-boot signing to fail, as per @ u/UnLeashDemon feedback. --- Amelia.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Amelia.sh b/Amelia.sh index bc13ec9..c1ec470 100644 --- a/Amelia.sh +++ b/Amelia.sh @@ -2,7 +2,7 @@ # Amelia Installer # https://gitlab.com/prism7/archery -# Version: 8.3.8 +# Version: 8.3.9 set -euo pipefail ################################################################################################### @@ -5813,6 +5813,7 @@ secboot_sign() { if [[ ${bootloader} == "1" ]]; then if arch-chroot /mnt <<-SECSIGN > /dev/null 2>&1 2> amelia_log.txt ; then systemctl disable systemd-boot-update || exit + pacman -Sy || exit pacman -S --noconfirm sbctl || exit sbctl create-keys || exit sbctl enroll-keys -m || exit @@ -5828,6 +5829,7 @@ SECSIGN fi elif [[ ${bootloader} == "2" ]]; then if arch-chroot /mnt <<-SECSIGN > /dev/null 2>&1 2> amelia_log.txt ; then + pacman -Sy || exit pacman -S --noconfirm sbctl || exit sbctl create-keys || exit sbctl enroll-keys -m || exit