diff mbox series

efi_loader: Print extra information from the bootmgr

Message ID 20250328125819.1080935-1-ilias.apalodimas@linaro.org
State New
Headers show
Series efi_loader: Print extra information from the bootmgr | expand

Commit Message

Ilias Apalodimas March 28, 2025, 12:58 p.m. UTC
Instead of just printing the label, add information for the Device
path as well so it's easier to see if we are booting from disk, network
etc

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
---
 lib/efi_loader/efi_bootmgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/lib/efi_loader/efi_bootmgr.c b/lib/efi_loader/efi_bootmgr.c
index f9534ef85edb..6b9d809ff618 100644
--- a/lib/efi_loader/efi_bootmgr.c
+++ b/lib/efi_loader/efi_bootmgr.c
@@ -690,7 +690,7 @@  static efi_status_t try_load_entry(u16 n, efi_handle_t *handle,
 			goto error;
 	}
 
-	log_info("Booting: %ls\n", lo.label);
+	log_info("Booting: Label: %ls Device path: %pD\n", lo.label, lo.file_path);
 
 	/* Ignore the optional data in auto-generated boot options */
 	if (size >= sizeof(efi_guid_t) &&