]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
bootspec: show efi entry too
authorLudwig Nussel <ludwig.nussel@suse.de>
Thu, 12 Jan 2023 12:56:08 +0000 (13:56 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 13 Jan 2023 01:50:18 +0000 (10:50 +0900)
src/shared/bootspec.c

index 06f42ab61d70bb0d8cd51759134356456bb61200..49fb34b4d644bfd6b4ebadd3e6de5997a889b41e 100644 (file)
@@ -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,