From: Michael Tremer Date: Sun, 17 Jun 2018 17:16:26 +0000 (+0100) Subject: installer: Always install EFI bootloader on x86_64 and aarch64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=695f512130d825de77acc2fb7fe6bf15b1028c66;p=people%2Fms%2Fipfire-2.x.git installer: Always install EFI bootloader on x86_64 and aarch64 Signed-off-by: Michael Tremer --- diff --git a/src/installer/hw.c b/src/installer/hw.c index 0cfeb521fc..7bbda22def 100644 --- a/src/installer/hw.c +++ b/src/installer/hw.c @@ -84,7 +84,8 @@ struct hw* hw_init() { hw->efi_supported = 1; // Should we install in EFI mode? - hw->efi = 1; + if ((strcmp(hw->arch, "x86_64") == 0) || (strcmp(hw->arch, "aarch64") == 0)) + hw->efi = 1; return hw; }