chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
journalctl: use _COMM= match for scripts
[elogind.git]
/
src
/
boot
/
boot-efi.c
diff --git
a/src/boot/boot-efi.c
b/src/boot/boot-efi.c
index 51f12c0c1a53fe287635ef8ffe2dac6387c8e775..9960c4d7423a72da9f3556454e4826c47d93e5b3 100644
(file)
--- a/
src/boot/boot-efi.c
+++ b/
src/boot/boot-efi.c
@@
-158,6
+158,9
@@
int boot_info_query(struct boot_info *info) {
char buf[64];
char *loader_active = NULL;
char buf[64];
char *loader_active = NULL;
+ info->fw_secure_boot = is_efi_secure_boot();
+ info->fw_secure_boot_setup_mode = is_efi_secure_boot_setup_mode();
+
efi_get_variable_string(EFI_VENDOR_LOADER, "LoaderInfo", &info->loader);
get_boot_entries(info);
efi_get_variable_string(EFI_VENDOR_LOADER, "LoaderInfo", &info->loader);
get_boot_entries(info);