48 lines
1.8 KiB
Diff
48 lines
1.8 KiB
Diff
From 74a8239f40092900d83dd5c9632b5652b242e158 Mon Sep 17 00:00:00 2001
|
|
From: Peter Robinson <pbrobinson@gmail.com>
|
|
Date: Tue, 5 Dec 2017 00:10:22 +0000
|
|
Subject: [PATCH 1/5] use Fedora specific EFI path/name
|
|
|
|
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
|
|
---
|
|
include/config_distro_bootcmd.h | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
|
|
index 5c469a23fa..c2822b4d06 100644
|
|
--- a/include/config_distro_bootcmd.h
|
|
+++ b/include/config_distro_bootcmd.h
|
|
@@ -88,7 +88,7 @@
|
|
|
|
#ifdef CONFIG_EFI_LOADER
|
|
#if defined(CONFIG_ARM64)
|
|
-#define BOOTEFI_NAME "bootaa64.efi"
|
|
+#define BOOTEFI_NAME "grubaa64.efi"
|
|
#elif defined(CONFIG_ARM)
|
|
#define BOOTEFI_NAME "bootarm.efi"
|
|
#elif defined(CONFIG_X86_RUN_32BIT)
|
|
@@ -122,7 +122,7 @@
|
|
"bootefi bootmgr ${fdtcontroladdr};" \
|
|
"fi;" \
|
|
"load ${devtype} ${devnum}:${distro_bootpart} " \
|
|
- "${kernel_addr_r} efi/boot/"BOOTEFI_NAME"; " \
|
|
+ "${kernel_addr_r} efi/fedora/"BOOTEFI_NAME"; " \
|
|
"if fdt addr ${fdt_addr_r}; then " \
|
|
"bootefi ${kernel_addr_r} ${fdt_addr_r};" \
|
|
"else " \
|
|
@@ -145,9 +145,9 @@
|
|
"fi;" \
|
|
"done;" \
|
|
"if test -e ${devtype} ${devnum}:${distro_bootpart} " \
|
|
- "efi/boot/"BOOTEFI_NAME"; then " \
|
|
+ "efi/fedora/"BOOTEFI_NAME"; then " \
|
|
"echo Found EFI removable media binary " \
|
|
- "efi/boot/"BOOTEFI_NAME"; " \
|
|
+ "efi/fedora/"BOOTEFI_NAME"; " \
|
|
"run boot_efi_binary; " \
|
|
"echo EFI LOAD FAILED: continuing...; " \
|
|
"fi; " \
|
|
--
|
|
2.14.3
|
|
|