fwupd/fwupd-jscSLE-11766-close-efidir-leap-gap.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

19 lines
857 B
Diff

Index: fwupd-1.9.14/plugins/uefi-capsule/fu-uefi-common.c
===================================================================
--- fwupd-1.9.14.orig/plugins/uefi-capsule/fu-uefi-common.c
+++ fwupd-1.9.14/plugins/uefi-capsule/fu-uefi-common.c
@@ -235,9 +235,13 @@ fu_uefi_get_esp_path_for_os(void)
g_autofree gchar *esp_path = NULL;
g_autoptr(GError) error_local = NULL;
g_autoptr(GHashTable) os_release = fwupd_get_os_release(&error_local);
+ g_auto(GStrv) split = NULL;
/* try to lookup /etc/os-release ID key */
if (os_release != NULL) {
os_release_id = g_hash_table_lookup(os_release, "ID");
+ /* Overide os_release_id for SLE and openSUSE */
+ split = g_strsplit (g_hash_table_lookup (os_release, "NAME"), " ", 2);
+ os_release_id = g_ascii_strdown (split[0], -1);
} else {
g_debug("failed to get ID: %s", error_local->message);
}