X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fboot%2Fboot-efi.c;h=33840b6864e83820be915dca43e6f9384988c2e5;hb=82de16f92ca5259e9ddb4f328f086cb6a9f043b0;hp=51f12c0c1a53fe287635ef8ffe2dac6387c8e775;hpb=71bf4f6f6c450e111795054e1bc50da692202c31;p=elogind.git diff --git a/src/boot/boot-efi.c b/src/boot/boot-efi.c index 51f12c0c1..33840b686 100644 --- 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; + 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); @@ -171,7 +174,7 @@ int boot_info_query(struct boot_info *info) { efi_get_variable_string(EFI_VENDOR_LOADER, "LoaderFirmwareInfo", &info->fw_info); efi_get_variable_string(EFI_VENDOR_LOADER, "LoaderImageIdentifier", &info->loader_image_path); tilt_slashes(info->loader_image_path); - efi_get_loader_device_part_uuid(&info->loader_part_uuid); + efi_loader_get_device_part_uuid(&info->loader_part_uuid); boot_loader_read_entries(info); efi_get_variable_string(EFI_VENDOR_LOADER, "LoaderEntrySelected", &loader_active);