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

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