dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

Blame SOURCES/0011-use-grub-boot-aa64.efi-for-boot-images-on-AArch64.patch

f725e3
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
f725e3
From: Andrey Borzenkov <arvidjaar@gmail.com>
f725e3
Date: Tue, 7 Jan 2014 10:38:54 +0400
f725e3
Subject: [PATCH] use {grub,boot}aa64.efi for boot images on AArch64
f725e3
f725e3
According to UEFI 2.4 specification, default boot file name on AArch64
f725e3
is BOOTAA64.EFI (3.4.1.1 Removable Media Boot Behavior). Also set default
f725e3
GRUB image name to grubaa64.efi to match it.
f725e3
---
f725e3
 util/grub-install.c | 4 ++--
f725e3
 1 file changed, 2 insertions(+), 2 deletions(-)
f725e3
f725e3
diff --git a/util/grub-install.c b/util/grub-install.c
f725e3
index 8cfe0eaa2ef..4608b80fe05 100644
f725e3
--- a/util/grub-install.c
f725e3
+++ b/util/grub-install.c
f725e3
@@ -1091,7 +1091,7 @@ main (int argc, char *argv[])
f725e3
 	      efi_file = "BOOTARM.EFI";
f725e3
 	      break;
f725e3
 	    case GRUB_INSTALL_PLATFORM_ARM64_EFI:
f725e3
-	      efi_file = "BOOTAARCH64.EFI";
f725e3
+	      efi_file = "BOOTAA64.EFI";
f725e3
 	      break;
f725e3
 	    default:
f725e3
 	      grub_util_error ("%s", _("You've found a bug"));
f725e3
@@ -1118,7 +1118,7 @@ main (int argc, char *argv[])
f725e3
 	      efi_file = "grubarm.efi";
f725e3
 	      break;
f725e3
 	    case GRUB_INSTALL_PLATFORM_ARM64_EFI:
f725e3
-	      efi_file = "grubarm64.efi";
f725e3
+	      efi_file = "grubaa64.efi";
f725e3
 	      break;
f725e3
 	    default:
f725e3
 	      efi_file = "grub.efi";