nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

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

23d2ea
From e4a3de3ef6a122504b5fb47de1f4a1bd6295d49a Mon Sep 17 00:00:00 2001
39700a
From: Andrey Borzenkov <arvidjaar@gmail.com>
39700a
Date: Tue, 7 Jan 2014 10:38:54 +0400
27a4da
Subject: [PATCH 011/260] 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
27a4da
index 8cfe0eaa2..4608b80fe 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";
39700a
-- 
27a4da
2.13.0
39700a