51 lines
2.0 KiB
Diff
51 lines
2.0 KiB
Diff
From c8e3063259c19e8f03c9f3e053ec6384d2d3f861 Mon Sep 17 00:00:00 2001
|
|
From: Peter Robinson <pbrobinson@gmail.com>
|
|
Date: Tue, 19 Mar 2019 10:48:48 +0000
|
|
Subject: [PATCH] use Fedora specific EFI path/name
|
|
|
|
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
|
|
---
|
|
include/config_distro_bootcmd.h | 10 +++++-----
|
|
1 file changed, 5 insertions(+), 5 deletions(-)
|
|
|
|
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
|
|
index 4993303f4d..1aba509962 100644
|
|
--- a/include/config_distro_bootcmd.h
|
|
+++ b/include/config_distro_bootcmd.h
|
|
@@ -92,9 +92,9 @@
|
|
|
|
#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"
|
|
+#define BOOTEFI_NAME "grubarm.efi"
|
|
#elif defined(CONFIG_X86_RUN_32BIT)
|
|
#define BOOTEFI_NAME "bootia32.efi"
|
|
#elif defined(CONFIG_X86_RUN_64BIT)
|
|
@@ -130,7 +130,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 " \
|
|
@@ -153,9 +153,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.20.1
|
|
|