[PATCH 3/4] efi: payload: alert user if CONFIG_FS_EFI is missing
Ahmad Fatoum
a.fatoum at pengutronix.de
Fri Aug 9 07:17:54 PDT 2024
The /boot mount point is created by the EFI file system support when it
detects the ESP. Rework the error message to point this out.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
efi/payload/init.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/efi/payload/init.c b/efi/payload/init.c
index 5701d7ad6dcf..35cd8fc71661 100644
--- a/efi/payload/init.c
+++ b/efi/payload/init.c
@@ -370,7 +370,8 @@ static int efi_late_init(void)
return 0;
if (!get_mounted_path("/boot")) {
- pr_warn("boot device couldn't be determined\n");
+ pr_warn("boot device couldn't be determined%s\n",
+ IS_ENABLED(CONFIG_FS_EFI) ? " without CONFIG_FS_EFI" : "");
return 0;
}
--
2.39.2
More information about the barebox
mailing list