summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudwig Nussel <ludwig.nussel@suse.de>2023-01-12 13:56:08 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-01-13 10:50:18 +0900
commite443cc7c05bb5bf057e375df236e4a1f1431821d (patch)
tree6db2bf7149f4ebd58c5015fd74bb5da3807fa214
parent7fcf0fab078ed92a4f6c3c3658c0a9dfd67c9601 (diff)
downloadsystemd-e443cc7c05bb5bf057e375df236e4a1f1431821d.tar.gz
bootspec: show efi entry too
-rw-r--r--src/shared/bootspec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/bootspec.c b/src/shared/bootspec.c
index 06f42ab61d..49fb34b4d6 100644
--- a/src/shared/bootspec.c
+++ b/src/shared/bootspec.c
@@ -1362,6 +1362,8 @@ int show_boot_entry(
printf(" architecture: %s\n", e->architecture);
if (e->kernel)
boot_entry_file_list("linux", e->root, e->kernel, &status);
+ if (e->efi)
+ boot_entry_file_list("efi", e->root, e->efi, &status);
STRV_FOREACH(s, e->initrd)
boot_entry_file_list(s == e->initrd ? "initrd" : NULL,