SHA256
1
0
forked from pool/fwupd
fwupd/fwupd-bsc1130056-change-shim-path.patch
Dominique Leuenberger 3759dd63e3 Accepting request 1070222 from home:dimstar:Factory
- Update to version 1.8.12:
  + Allow setting the package user agent before the client has
    connected.
  + Fix a small memory leak when refreshing metadata.
- Changes from version 1.8.11:
  + Add support for replaying USB devices so they can be emulated
    in CI.
  + Allow desktop software to inhibit the system to prevent
    updates.
  + Allow using requirements with depth=0 and no parent.
  + Auto-set the CCGX remove-delay now we parse DMC subcomponents.
  + Detect and warn users with the broken NVMe firmware 3B2QGXA7.
  + Print errors as JSON objects when using fwupdmgr --json.
- Changes from version 1.8.10:
  + Add a PE/COFF firmware parser to allow reading coSWID SBoM
    data.
  + Allow dumping CFI SPI chips using devices like CH341a.
  + Refactor the HWIDs functionality to include FDT data.
- Rebase fwupd-bsc1130056-change-shim-path.patch.
- Drop uefi-capsule-Do-not-call-grub2-probe-without-argumen.patch:
  fixed upstream.
- Add -Dcompat_cli=true meson parameter: keep compat binaries for
  the time being.
- Add xz-devel BuildRequires: needed to link liblzma.

OBS-URL: https://build.opensuse.org/request/show/1070222
OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=135
2023-03-08 16:17:13 +00:00

15 lines
637 B
Diff

Index: fwupd-1.8.12/plugins/uefi-capsule/fu-uefi-bootmgr.c
===================================================================
--- fwupd-1.8.12.orig/plugins/uefi-capsule/fu-uefi-bootmgr.c
+++ fwupd-1.8.12/plugins/uefi-capsule/fu-uefi-bootmgr.c
@@ -292,7 +292,8 @@ fu_uefi_bootmgr_bootnext(FuDevice *devic
/* 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(device, esp_path, "shim", error);
+ shim_app = g_strdup_printf ("%s/shim.efi",
+ fu_uefi_get_esp_path_for_os (device, esp_path));
if (shim_app == NULL)
return FALSE;