From 6f2184b6caded1f058befa7df66a0a7383d06f77f555d905977de927c3e5d34d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 2 Nov 2023 08:20:39 +0000 Subject: [PATCH] Accepting request 1122193 from home:dimstar:Factory - Disable passim support for now. For openSUSE users this is likely less intereting that it would be for enterprise customers. - Update to versrion 1.9.7: + This release adds the following features: - Add support for child device requirements in metadata. - Allow to have more than one host BKC. - Delete BootNext as a post-reboot action to work around broken firmware. - Parse cabinet archives internally without libgcab. - Use close-ended mode for eMMC FFU to speed up firmware updates. + This release adds support for the following hardware: - Logitech Rally System devices. - More PixartRF HPAC devices. - More Synaptics Prometheus fingerprint readers. - Some Western Digital eMMC devices. - VIA VL830 and VL832. - Update to version 1.9.6: + This release adds the following features: - Add a launchd agent for macOS. - Add a new security attribute for BIOS capsule updates to be enabled. - Add functionality to fix specific host security attributes. - Add global information from the context into the report data. - Add support for coSWID payload sections. - Add support for parsing the EDID. - Allow adding only-quirk instance IDs from quirk files. - Install a sysusers.d systemd file when using OBS-URL: https://build.opensuse.org/request/show/1122193 OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=146 --- _service | 6 ++- fwupd-1.8.17.obscpio | 3 -- fwupd-1.9.7.obscpio | 3 ++ fwupd-bsc1130056-change-shim-path.patch | 14 ------- fwupd.changes | 49 +++++++++++++++++++++++++ fwupd.obsinfo | 6 +-- fwupd.spec | 27 ++++++-------- 7 files changed, 70 insertions(+), 38 deletions(-) delete mode 100644 fwupd-1.8.17.obscpio create mode 100644 fwupd-1.9.7.obscpio delete mode 100644 fwupd-bsc1130056-change-shim-path.patch diff --git a/_service b/_service index c75a010..d8d3c3d 100644 --- a/_service +++ b/_service @@ -3,8 +3,10 @@ https://github.com/fwupd/fwupd.git git - @PARENT_TAG@ - 1.8.17 + @PARENT_TAG@+@TAG_OFFSET@ + 1.9.7 + (.*)\+0 + \1 diff --git a/fwupd-1.8.17.obscpio b/fwupd-1.8.17.obscpio deleted file mode 100644 index 458eef8..0000000 --- a/fwupd-1.8.17.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f79f3dd1a5120672397a9b1b7c64ef4954c6263bb6824c724b6d5565ff5741a0 -size 17104397 diff --git a/fwupd-1.9.7.obscpio b/fwupd-1.9.7.obscpio new file mode 100644 index 0000000..cd41189 --- /dev/null +++ b/fwupd-1.9.7.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7040d928a8cbd0eb00aaaf1cdc815ae2a5970d8ce6cd18b1ec4e6ed9ed475d8a +size 18189837 diff --git a/fwupd-bsc1130056-change-shim-path.patch b/fwupd-bsc1130056-change-shim-path.patch deleted file mode 100644 index 3ad1997..0000000 --- a/fwupd-bsc1130056-change-shim-path.patch +++ /dev/null @@ -1,14 +0,0 @@ -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; - diff --git a/fwupd.changes b/fwupd.changes index 7cd2d84..726f96b 100644 --- a/fwupd.changes +++ b/fwupd.changes @@ -1,3 +1,52 @@ +------------------------------------------------------------------- +Thu Nov 2 08:15:52 UTC 2023 - Dominique Leuenberger + +- Disable passim support for now. For openSUSE users this is likely + less intereting that it would be for enterprise customers. + +------------------------------------------------------------------- +Wed Nov 1 13:06:35 UTC 2023 - Dominique Leuenberger + +- Update to versrion 1.9.7: + + This release adds the following features: + - Add support for child device requirements in metadata. + - Allow to have more than one host BKC. + - Delete BootNext as a post-reboot action to work around broken + firmware. + - Parse cabinet archives internally without libgcab. + - Use close-ended mode for eMMC FFU to speed up firmware + updates. + + This release adds support for the following hardware: + - Logitech Rally System devices. + - More PixartRF HPAC devices. + - More Synaptics Prometheus fingerprint readers. + - Some Western Digital eMMC devices. + - VIA VL830 and VL832. + +------------------------------------------------------------------- +Fri Oct 20 07:49:15 UTC 2023 - Dominique Leuenberger + +- Update to version 1.9.6: + + This release adds the following features: + - Add a launchd agent for macOS. + - Add a new security attribute for BIOS capsule updates to be + enabled. + - Add functionality to fix specific host security attributes. + - Add global information from the context into the report data. + - Add support for coSWID payload sections. + - Add support for parsing the EDID. + - Allow adding only-quirk instance IDs from quirk files. + - Install a sysusers.d systemd file when using + -Dsystemd_unit_user. + + For The changes of 1.9.0…1.9.5, please consult + https://github.com/fwupd/fwupd/releases +- Add pkgconfig(passim) BuildRequires: new dependency. +- Pass -Dplugin_amdgpu=disabled to meson: not buildable just yet. +- Pass -Dlaunchd=disabled to meson: launched is MacOS only. +- Drop -Dplugin_dell=enabled meson parameter: no longer supported. +- Drop fwupd-bsc1130056-change-shim-path.patch: no longer + applicable. + ------------------------------------------------------------------- Fri Sep 15 07:32:14 UTC 2023 - Callum Farmer diff --git a/fwupd.obsinfo b/fwupd.obsinfo index 9ab3334..1ae4e49 100644 --- a/fwupd.obsinfo +++ b/fwupd.obsinfo @@ -1,4 +1,4 @@ name: fwupd -version: 1.8.17 -mtime: 1688934627 -commit: b8ea71452192fe4d7b6a135cc692d54eebdb1df2 +version: 1.9.7 +mtime: 1698836291 +commit: 24396f802d954eddbd37395adf8c561381e7c59a diff --git a/fwupd.spec b/fwupd.spec index 6f0e405..cbe7578 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -40,7 +40,7 @@ %define docs 0 Name: fwupd -Version: 1.8.17 +Version: 1.9.7 Release: 0 Summary: Device firmware updater daemon License: GPL-2.0-or-later AND LGPL-2.1-or-later @@ -48,8 +48,6 @@ Group: System/Management URL: https://fwupd.org/ Source: %{name}-%{version}.tar.xz -# PATCH-FIX-OPENSUSE fwupd-bsc1130056-shim-path.patch bsc#1130056 -Patch1: fwupd-bsc1130056-change-shim-path.patch # PATCH-FIX-OPENSUSE fwupd-jscSLE-11766-close-efidir-leap-gap.patch jsc#SLE-11766 qkzhu@suse.com -- Set SLE and openSUSE esp os dir at runtime Patch2: fwupd-jscSLE-11766-close-efidir-leap-gap.patch # PATCH-FEATURE-OPENSUSE harden_fwupd-offline-update.service.patch -- Harden services @@ -226,6 +224,9 @@ export CFLAGS="%{optflags} -D_GNU_SOURCE" # Dell support requires direct SMBIOS access, # Synaptics requires Dell support, i.e. x86 only %meson \ + -Dlaunchd=disabled \ + -Dplugin_amdgpu=disabled \ + -Dpassim=disabled \ %if %{with efi_fw_update} -Dplugin_uefi_capsule=enabled \ -Dplugin_uefi_pk=enabled \ @@ -242,10 +243,8 @@ export CFLAGS="%{optflags} -D_GNU_SOURCE" -Dplugin_msr=disabled \ %endif %if %{with dell_support} - -Dplugin_dell=enabled \ -Dplugin_synaptics_mst=enabled \ %else - -Dplugin_dell=disabled \ -Dplugin_synaptics_mst=disabled \ %endif %ifnarch %{ix86} x86_64 @@ -331,10 +330,6 @@ rm -fr %{buildroot}%{_datadir}/fish %dir %{_datadir}/%{name}/remotes.d %dir %{_datadir}/%{name}/remotes.d/vendor %dir %{_datadir}/%{name}/remotes.d/vendor/firmware -%if %{with dell_support} -%dir %{_datadir}/%{name}/remotes.d/dell-esrt -%{_datadir}/%{name}/remotes.d/dell-esrt/metadata.xml -%endif %{_datadir}/%{name}/add_capsule_header.py %{_datadir}/%{name}/firmware_packager.py %{_datadir}/%{name}/install_dell_bios_exe.py @@ -377,16 +372,16 @@ rm -fr %{buildroot}%{_datadir}/fish %{_datadir}/metainfo/org.freedesktop.fwupd.metainfo.xml %{_datadir}/icons/hicolor/* %{_prefix}/lib/systemd/system-shutdown/fwupd.shutdown -%{_prefix}/lib/systemd/system-preset/fwupd-refresh.preset -%dir %{_libdir}/fwupd-%{version} +%dir %{_libdir}/fwupd-* %ifnarch s390x ppc64le -%{_libdir}/fwupd-%{version}/libfu_plugin_flashrom.so +%{_libdir}/fwupd-*/libfu_plugin_flashrom.so %endif -%{_libdir}/fwupd-%{version}/libfu_plugin_modem_manager.so -%{_libdir}/fwupd-%{version}/libfwupdengine.so -%{_libdir}/fwupd-%{version}/libfwupdplugin.so -%{_libdir}/fwupd-%{version}/libfwupdutil.so +%{_libdir}/fwupd-*/libfu_plugin_modem_manager.so +%{_libdir}/fwupd-*/libfwupdengine.so +%{_libdir}/fwupd-*/libfwupdplugin.so +%{_libdir}/fwupd-*/libfwupdutil.so %{_datadir}/%{name}/quirks.d/builtin.quirk.gz +%_sysusersdir/fwupd.conf %if %{with efi_fw_update} %files -n dfu-tool