mirror of
https://gitlab.com/prism7/archery.git
synced 2025-02-15 08:29:17 +01:00
Fix: Fixed a bug that would cause secure-boot signing to fail, as per @ u/UnLeashDemon feedback.
This commit is contained in:
parent
d938a2b98c
commit
c84b8b24d0
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Amelia Installer
|
# Amelia Installer
|
||||||
# https://gitlab.com/prism7/archery
|
# https://gitlab.com/prism7/archery
|
||||||
# Version: 8.3.8
|
# Version: 8.3.9
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
|
@ -5813,6 +5813,7 @@ secboot_sign() {
|
||||||
if [[ ${bootloader} == "1" ]]; then
|
if [[ ${bootloader} == "1" ]]; then
|
||||||
if arch-chroot /mnt <<-SECSIGN > /dev/null 2>&1 2> amelia_log.txt ; then
|
if arch-chroot /mnt <<-SECSIGN > /dev/null 2>&1 2> amelia_log.txt ; then
|
||||||
systemctl disable systemd-boot-update || exit
|
systemctl disable systemd-boot-update || exit
|
||||||
|
pacman -Sy || exit
|
||||||
pacman -S --noconfirm sbctl || exit
|
pacman -S --noconfirm sbctl || exit
|
||||||
sbctl create-keys || exit
|
sbctl create-keys || exit
|
||||||
sbctl enroll-keys -m || exit
|
sbctl enroll-keys -m || exit
|
||||||
|
@ -5828,6 +5829,7 @@ SECSIGN
|
||||||
fi
|
fi
|
||||||
elif [[ ${bootloader} == "2" ]]; then
|
elif [[ ${bootloader} == "2" ]]; then
|
||||||
if arch-chroot /mnt <<-SECSIGN > /dev/null 2>&1 2> amelia_log.txt ; then
|
if arch-chroot /mnt <<-SECSIGN > /dev/null 2>&1 2> amelia_log.txt ; then
|
||||||
|
pacman -Sy || exit
|
||||||
pacman -S --noconfirm sbctl || exit
|
pacman -S --noconfirm sbctl || exit
|
||||||
sbctl create-keys || exit
|
sbctl create-keys || exit
|
||||||
sbctl enroll-keys -m || exit
|
sbctl enroll-keys -m || exit
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue