Skip to content

Commit

Permalink
Secure boot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
picodotdev committed Mar 1, 2024
1 parent 3b72818 commit c6a7b78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion alis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion download-sid.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -eu
# Copyright (C) 2022 picodotdev

GITHUB_USER="picodotdev"
BRANCH="master"
BRANCH="sid"
HASH=""
ARTIFACT="alis-${BRANCH}"

Expand Down

0 comments on commit c6a7b78

Please sign in to comment.