dcavalca / rpms / grub2

Forked from rpms/grub2 3 years ago
Clone

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

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