bootspec: show efi entry too

This commit is contained in:
Ludwig Nussel
2023-01-13 10:50:18 +09:00
committed by Yu Watanabe
parent 7fcf0fab07
commit e443cc7c05
+2
View 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,