Skip to content

Commit

Permalink
workaround for broken uefi
Browse files Browse the repository at this point in the history
  • Loading branch information
Alesh Slovak committed May 2, 2020
1 parent ef4db71 commit 8319b9c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frzr-bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ if [ $UEFI ]; then
mkdir -p ${MOUNT_PATH}/boot/EFI/syslinux
cp -r /usr/lib/syslinux/efi64/* ${MOUNT_PATH}/boot/EFI/syslinux
efibootmgr --create --disk ${DISK} --part 1 --loader /EFI/syslinux/syslinux.efi --label "frzr"

# for compatibility with some broken uefi implementations
mkdir -p ${MOUNT_PATH}/boot/EFI/BOOT
cp /usr/lib/syslinux/efi64/syslinux.efi ${MOUNT_PATH}/boot/EFI/BOOT/bootx64.efi
else
mkdir -p ${MOUNT_PATH}/boot/syslinux
extlinux --install ${MOUNT_PATH}/boot
Expand Down

0 comments on commit 8319b9c

Please sign in to comment.