Skip to content

Commit 88a80a9

Browse files
committed
env:distro_bootcmd: Fix err msg boot_efi_bootmgr undefined
Signed-off-by: Kirill Kapranov <kirill.kapranov@compulab.co.il>
1 parent 385288b commit 88a80a9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

include/config_distro_bootcmd.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,10 @@
138138
"else " \
139139
"bootefi bootmgr;" \
140140
"fi\0"
141+
#define RUN_BOOT_EFI_BOOTMGR "run boot_efi_bootmgr;"
141142
#else
142143
#define BOOTENV_EFI_BOOTMGR
144+
#define RUN_BOOT_EFI_BOOTMGR
143145
#endif
144146

145147
#define BOOTENV_SHARED_EFI \
@@ -171,7 +173,7 @@
171173
BOOTENV_RUN_EXTENSION_APPLY \
172174
"fi;" \
173175
"done;" \
174-
"run boot_efi_bootmgr;" \
176+
RUN_BOOT_EFI_BOOTMGR \
175177
"if test -e ${devtype} ${devnum}:${distro_bootpart} " \
176178
"efi/boot/"BOOTEFI_NAME"; then " \
177179
"echo Found EFI removable media binary " \

0 commit comments

Comments
 (0)