disable broken systemd-boot and UKI on aarch64

This commit is contained in:
Tobias Powalowski 2023-06-27 23:29:27 +02:00
parent 5772f60db2
commit faedeee2e0

View file

@ -944,7 +944,10 @@ _install_bootloader_uefi() {
_EFISTUB_MENU_LABEL="EFISTUB" _EFISTUB_MENU_LABEL="EFISTUB"
_EFISTUB_MENU_TEXT="EFISTUB for ${_UEFI_ARCH} UEFI" _EFISTUB_MENU_TEXT="EFISTUB for ${_UEFI_ARCH} UEFI"
fi fi
if [[ -n "${_UEFI_SECURE_BOOT}" ]]; then # aarch64 is broken for UKI and systemd-boot
# https://github.com/systemd/systemd/issues/27837
# https://sourceforge.net/p/gnu-efi/bugs/37/
if [[ -n "${_UEFI_SECURE_BOOT}" || "${_RUNNING_ARCH}" == "aarch64" ]]; then
_do_grub_uefi _do_grub_uefi
else else
_dialog --menu "Which ${_UEFI_ARCH} UEFI bootloader would you like to use?" 9 55 3 \ _dialog --menu "Which ${_UEFI_ARCH} UEFI bootloader would you like to use?" 9 55 3 \