]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
installer: Always install EFI bootloader on x86_64 and aarch64
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 17 Jun 2018 17:16:26 +0000 (18:16 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 14 Jul 2018 12:43:53 +0000 (13:43 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/installer/hw.c

index 0cfeb521fcff01271d2b54e7fb0c349959d61126..7bbda22defdaa25a01d8a7caf855cfa614c87519 100644 (file)
@@ -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;
 }