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

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