dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

Blame SOURCES/0013-Change-grub-mkrescue-to-use-bootaa64.efi-too.patch

0dc71c
From 9981c4e3f366b4795655368a78baa058b18711c6 Mon Sep 17 00:00:00 2001
0dc71c
From: Andrey Borzenkov <arvidjaar@gmail.com>
0dc71c
Date: Tue, 7 Jan 2014 20:34:25 +0400
0dc71c
Subject: [PATCH 013/143] Change grub-mkrescue to use bootaa64.efi too
0dc71c
0dc71c
Also add ChangeLog entry for previous change.
0dc71c
---
0dc71c
 ChangeLog            | 7 +++++++
0dc71c
 util/grub-mkrescue.c | 2 +-
0dc71c
 2 files changed, 8 insertions(+), 1 deletion(-)
0dc71c
0dc71c
diff --git a/ChangeLog b/ChangeLog
0dc71c
index e87f0a7..0b9fa05 100644
0dc71c
--- a/ChangeLog
0dc71c
+++ b/ChangeLog
0dc71c
@@ -1,5 +1,12 @@
0dc71c
 2014-01-07  Andrey Borzenkov <arvidjaar@gmail.com>
0dc71c
 
0dc71c
+	* util/grub-install.c: Use bootaa64.efi instead of bootaarch64.efi on
0dc71c
+	arm64 to comply with EFI specification. Also use grubaa64.efi for
0dc71c
+	consistency.
0dc71c
+	* util/grub-mkrescue.c: Change to use bootaa64.efi too.
0dc71c
+
0dc71c
+2014-01-07  Andrey Borzenkov <arvidjaar@gmail.com>
0dc71c
+
0dc71c
 	* include/grub/osdep/hostfile_windows.h: Do not redefine fseeko/ftello
0dc71c
 	on MinGW-64 when compiling for 32 bits.
0dc71c
 
0dc71c
diff --git a/util/grub-mkrescue.c b/util/grub-mkrescue.c
0dc71c
index 317879d..0d03e55 100644
0dc71c
--- a/util/grub-mkrescue.c
0dc71c
+++ b/util/grub-mkrescue.c
0dc71c
@@ -663,7 +663,7 @@ main (int argc, char *argv[])
0dc71c
       make_image_fwdisk_abs (GRUB_INSTALL_PLATFORM_ARM_EFI, "arm-efi", imgname);
0dc71c
       free (imgname);
0dc71c
 
0dc71c
-      imgname = grub_util_path_concat (2, efidir_efi_boot, "bootaarch64.efi");
0dc71c
+      imgname = grub_util_path_concat (2, efidir_efi_boot, "bootaa64.efi");
0dc71c
       make_image_fwdisk_abs (GRUB_INSTALL_PLATFORM_ARM64_EFI, "arm64-efi",
0dc71c
 			     imgname);
0dc71c
       free (imgname);
0dc71c
-- 
0dc71c
1.9.3
0dc71c