Skip to content

Commit

Permalink
Merge pull request #251 from picodotdev/sid
Browse files Browse the repository at this point in the history
Secure boot fix
  • Loading branch information
picodotdev authored Mar 1, 2024
2 parents 3b72818 + c6a7b78 commit ce7f617
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 ce7f617

Please sign in to comment.