Skip to content

Commit ce7f617

Browse files
authored
Merge pull request #251 from picodotdev/sid
Secure boot fix
2 parents 3b72818 + c6a7b78 commit ce7f617

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

alis.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,6 +1234,9 @@ function bootloader() {
12341234

12351235
CMDLINE_LINUX=$(trim_variable "$CMDLINE_LINUX")
12361236

1237+
if [ "$BIOS_TYPE" == "uefi" ] || [ "$SECURE_BOOT" == "true" ]; then
1238+
pacman_install "efibootmgr"
1239+
fi
12371240
if [ "$SECURE_BOOT" == "true" ]; then
12381241
curl --output PreLoader.efi https://blog.hansenpartnership.com/wp-uploads/2013/PreLoader.efi
12391242
curl --output HashTool.efi https://blog.hansenpartnership.com/wp-uploads/2013/HashTool.efi
@@ -1282,7 +1285,6 @@ function bootloader_grub() {
12821285
}>> "${MNT_DIR}"/etc/default/grub
12831286

12841287
if [ "$BIOS_TYPE" == "uefi" ]; then
1285-
pacman_install "efibootmgr"
12861288
arch-chroot "${MNT_DIR}" grub-install --target=x86_64-efi --bootloader-id=grub --efi-directory="${ESP_DIRECTORY}" --recheck
12871289
fi
12881290
if [ "$BIOS_TYPE" == "bios" ]; then

download-sid.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -eu
88
# Copyright (C) 2022 picodotdev
99

1010
GITHUB_USER="picodotdev"
11-
BRANCH="master"
11+
BRANCH="sid"
1212
HASH=""
1313
ARTIFACT="alis-${BRANCH}"
1414

0 commit comments

Comments
 (0)