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

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