dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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