Skip to content

Commit 5de0331

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 5de0331

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/config_distro_bootcmd.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
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
143144
#endif
@@ -171,7 +172,7 @@
171172
BOOTENV_RUN_EXTENSION_APPLY \
172173
"fi;" \
173174
"done;" \
174-
"run boot_efi_bootmgr;" \
175+
RUN_BOOT_EFI_BOOTMGR \
175176
"if test -e ${devtype} ${devnum}:${distro_bootpart} " \
176177
"efi/boot/"BOOTEFI_NAME"; then " \
177178
"echo Found EFI removable media binary " \

0 commit comments

Comments
 (0)