fwupd/fwupd-bsc1130056-change-shim-path.patch
Dominique Leuenberger e01dba752b - Update to version 1.9.25:
+ This release fixes the following bugs:
    - Fix checking new Synaptics MST firmware size
    - Make another ModemManager instance ID visible for firmware
      matching
    - Never set a zero-length device name when matching the vendor
      name
    - Recalculate the device supported flag when reparenting
      devices
    - Reduce idle power consumption of paired logitech-hidpp
      devices
    - Retry the open action to fix BC901 NVMe reload
  + This release adds support for the following hardware:
    - Algoltek devices supporting sector erase
    - Dell K2 dock
    - Intel USB4 hub 5787
    - More MediaTek scaler devices
    - Nordic HID devices supporting DFUv1

OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=193
2024-09-25 09:12:10 +00:00

15 lines
570 B
Diff

diff --git a/plugins/uefi-capsule/fu-uefi-bootmgr.c b/plugins/uefi-capsule/fu-uefi-bootmgr.c
index 9d9e30f..daa9b2c 100644
--- a/plugins/uefi-capsule/fu-uefi-bootmgr.c
+++ b/plugins/uefi-capsule/fu-uefi-bootmgr.c
@@ -408,7 +408,8 @@ fu_uefi_bootmgr_bootnext(FuVolume *esp,
/* test if we should use shim */
secure_boot = fu_efivar_secure_boot_enabled(NULL);
if (secure_boot) {
- shim_app = fu_uefi_get_esp_app_path("shim", error);
+ shim_app = g_strdup_printf ("%s/shim.efi",
+ fu_uefi_get_esp_path_for_os());
if (shim_app == NULL)
return FALSE;