2018-02-07 12:41:43 +00:00
|
|
|
From 2b411f6edf298899098e2077a5ca2dfdaf3d882f Mon Sep 17 00:00:00 2001
|
2017-04-25 13:55:41 +00:00
|
|
|
From: Peter Robinson <pbrobinson@gmail.com>
|
2018-02-07 12:41:43 +00:00
|
|
|
Date: Wed, 7 Feb 2018 12:37:58 +0000
|
|
|
|
Subject: [PATCH] use Fedora specific EFI path/name
|
2017-04-25 13:55:41 +00:00
|
|
|
|
|
|
|
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
|
|
|
|
---
|
2017-07-12 07:45:51 +00:00
|
|
|
include/config_distro_bootcmd.h | 8 ++++----
|
|
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
2017-04-25 13:55:41 +00:00
|
|
|
|
|
|
|
diff --git a/include/config_distro_bootcmd.h b/include/config_distro_bootcmd.h
|
2018-02-07 12:41:43 +00:00
|
|
|
index f567cebd38..7746366ec8 100644
|
2017-04-25 13:55:41 +00:00
|
|
|
--- a/include/config_distro_bootcmd.h
|
|
|
|
+++ b/include/config_distro_bootcmd.h
|
2018-02-07 12:41:43 +00:00
|
|
|
@@ -93,7 +93,7 @@
|
2017-04-25 13:55:41 +00:00
|
|
|
|
|
|
|
#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"
|
2017-12-22 01:35:59 +00:00
|
|
|
#elif defined(CONFIG_X86_RUN_32BIT)
|
2018-02-07 12:41:43 +00:00
|
|
|
@@ -127,7 +127,7 @@
|
2017-09-19 08:30:31 +00:00
|
|
|
"bootefi bootmgr ${fdtcontroladdr};" \
|
|
|
|
"fi;" \
|
2017-04-25 13:55:41 +00:00
|
|
|
"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};" \
|
2018-02-07 12:41:43 +00:00
|
|
|
"else " \
|
|
|
|
@@ -150,9 +150,9 @@
|
2017-07-12 07:45:51 +00:00
|
|
|
"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; " \
|
2017-04-25 13:55:41 +00:00
|
|
|
--
|
2017-12-22 01:35:59 +00:00
|
|
|
2.14.3
|
2017-04-25 13:55:41 +00:00
|
|
|
|