fwupd/fwupd-jscSLE-11766-close-efidir-leap-gap.patch
Dominique Leuenberger 9e993c7358 - Update to version 1.9.27:
+ This release fixes the following bugs:
    - Add a power quirk for Framework systems
    - Allow cros-ec repair the device after flush failure
    - Check the VLI USB3 firmware size before erasing
    - Disallow DBX updates on the Samsung Galaxy Book2 360
    - Do not show 'Device has been removed' as a dock error
    - Do not use a CMSE11 function when using CSME18
    - Fix an unlikely memory leak when using ModemManger Sahara devices
    - Fix a tiny memory leak in algoltek-usb when checking status
    - Mark UEFI dbx updates as affecting full disk encryption
    - Parse FDTs with missing END tokens
    - Rename the dell-k2 plugin to dell-kestrel and rework the update flow
  + This release adds support for the following hardware:
    - Google GID8 Headset
    - Parade PS188
    - Primax Ryder Mouse
    
- Update to version 1.9.26:
  + This release fixes the following bugs:
    - Add HSI tests for Arrow and Meteor Lake CSME
    - Allow UEFI capsule config values to be set with fwupdmgr modify-config
    - Check for the logitech-bulkcontroller response packet length correctly
    - Fix using ID_LIKE for fallback when ESP isn't mounted
    - Fix various Coverity-reported overflowed constants
    - Only compare the first 10 characters of the AMD GPU part number
  + This release adds support for the following hardware:
    - Jabra PanaCast
    - Some Lenovo Legion HID devices

OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=199
2025-01-06 09:47:33 +00:00

23 lines
935 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
@@ -251,6 +251,7 @@
g_autofree gchar *full_systemd_path = NULL;
g_autoptr(GError) error_local = NULL;
g_autoptr(GHashTable) os_release = NULL;
+ g_auto(GStrv) split = NULL;
/* distro (or user) is using systemd-boot */
systemd_path = g_build_filename("EFI", "systemd", NULL);
@@ -262,6 +263,9 @@
os_release = fwupd_get_os_release(&error_local);
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);
}