From c6a7b786f68464a9528a1dde1ad439ccf008ecdd Mon Sep 17 00:00:00 2001 From: "pico.dev" Date: Fri, 1 Mar 2024 20:47:59 +0100 Subject: [PATCH] Secure boot fix --- alis.sh | 4 +++- download-sid.sh | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/alis.sh b/alis.sh index 88e70ff2..55e37853 100755 --- a/alis.sh +++ b/alis.sh @@ -1234,6 +1234,9 @@ function bootloader() { CMDLINE_LINUX=$(trim_variable "$CMDLINE_LINUX") + if [ "$BIOS_TYPE" == "uefi" ] || [ "$SECURE_BOOT" == "true" ]; then + pacman_install "efibootmgr" + fi if [ "$SECURE_BOOT" == "true" ]; then curl --output PreLoader.efi https://blog.hansenpartnership.com/wp-uploads/2013/PreLoader.efi curl --output HashTool.efi https://blog.hansenpartnership.com/wp-uploads/2013/HashTool.efi @@ -1282,7 +1285,6 @@ function bootloader_grub() { }>> "${MNT_DIR}"/etc/default/grub if [ "$BIOS_TYPE" == "uefi" ]; then - pacman_install "efibootmgr" arch-chroot "${MNT_DIR}" grub-install --target=x86_64-efi --bootloader-id=grub --efi-directory="${ESP_DIRECTORY}" --recheck fi if [ "$BIOS_TYPE" == "bios" ]; then diff --git a/download-sid.sh b/download-sid.sh index f11c2fe9..aff8315d 100755 --- a/download-sid.sh +++ b/download-sid.sh @@ -8,7 +8,7 @@ set -eu # Copyright (C) 2022 picodotdev GITHUB_USER="picodotdev" -BRANCH="master" +BRANCH="sid" HASH="" ARTIFACT="alis-${BRANCH}"