From faedeee2e0c7cdb7ee99402009e1fdac1b5347f7 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 27 Jun 2023 23:29:27 +0200 Subject: [PATCH] disable broken systemd-boot and UKI on aarch64 --- usr/lib/archboot/installer/bootloader.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/bootloader.sh b/usr/lib/archboot/installer/bootloader.sh index 26d333b70..e670b4379 100644 --- a/usr/lib/archboot/installer/bootloader.sh +++ b/usr/lib/archboot/installer/bootloader.sh @@ -944,7 +944,10 @@ _install_bootloader_uefi() { _EFISTUB_MENU_LABEL="EFISTUB" _EFISTUB_MENU_TEXT="EFISTUB for ${_UEFI_ARCH} UEFI" 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 else _dialog --menu "Which ${_UEFI_ARCH} UEFI bootloader would you like to use?" 9 55 3 \