fwupd/fwupd-bsc1130056-change-shim-path.patch
Dominique Leuenberger 3ca492e39f Accepting request 1190156 from home:dimstar:Factory
- Update to version 1.9.22:
  + This release fixes the following bugs:
    - Add a PCB tag in the usi-dock GUID to distinguish different
      revisions.
    - Add explicit hidraw permission to fwupd.service to fix
      several devices.
    - Always load the flashrom plugin when using coreboot.
    - Be explicit with the rts54hub detach retry delay to fix the
      Acer D501.
    - Be more careful when setting thelio-io version strings.
    - Fix a critical warning if a device returns unexpected data
      from DFU upload.
    - Fix a critical warning if the DMI manufacturer is an empty
      string.
    - Fix several reported integer overflows from Coverity.
    - Fix the Blackbird and Talos II baseboard details.
    - Fix transient version number issue after flashing wacom-usb
      devices.
    - Increase the cros_ec acquiesce delay to manage additional
      reboots.
    - Only accept valid ASCII cabinet filenames.
    - Only require udevdir when gudev support is enabled.
    - Only show one PixArt receiver device per physical device.
    - Set the rts54hub version in more cases.
    - Speed up the daemon self tests by ~60%.
    - Use the bootloader build-timestamp as the fallback HWID BIOS
      version.
  + This release adds support for the following hardware:
    - Framework SD
    - Raspberry Pi 5 (unofficial)

OBS-URL: https://build.opensuse.org/request/show/1190156
OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=187
2024-07-29 06:26:29 +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;