From 2c5dd2773b379053bfbafd38bb69c8974115f1ba8fdd4df94b544e32fbf68b93 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 19 Apr 2022 12:06:59 +0000 Subject: [PATCH] Accepting request 970523 from home:gmbr3:Active - Update to version 1.7.7: * This release adds the following features: + Add CCGX trigger code to support future hardware + Add signed and unsigned payload metadata to more devices + Allow overriding the detected machine type + Allow quirking the flashrom flash size + Do not allow the DBX update for broken firmware versions * This release fixes the following bugs: + Do not add the backup BMC device as it shares the same GUIDs + Do not hardcode the libexecdir to /usr/libexec + Do not leak child processes when canceling + Do not throw away the TPM eventlog when uploading reports to the LVFS + Don't export USB4 host controllers if they do not have unique GUIDs + Fix build for MacOS + Fix the TPM eventlog replay for Intel TXT machines + Fix writing large MTD images + Never send the DeviceChanged signal with invalid data + Return the correct error when there is no GPIO device to open + Show the update message and update image in front end tools + Support the new PENDING upower device states * This release adds support for the following hardware: + Logitech M550, M650 and K650 + More Elan fingerprint readers + More Star Labs StarLite laptops + More Wacom panels found on Lenovo laptops - Split bash and fish completions to separate subpackages - Remove un-needed BRP_PESIGN_FILES - Set GNU_SOURCE so meson detects F_OFD_SETLK in fnctl.h support OBS-URL: https://build.opensuse.org/request/show/970523 OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=117 --- _service | 2 +- fwupd-1.7.6.obscpio | 3 --- fwupd-1.7.7.obscpio | 3 +++ fwupd.changes | 34 +++++++++++++++++++++++++++++++ fwupd.obsinfo | 6 +++--- fwupd.spec | 49 ++++++++++++++++++++++++++++++++++----------- 6 files changed, 78 insertions(+), 19 deletions(-) delete mode 100644 fwupd-1.7.6.obscpio create mode 100644 fwupd-1.7.7.obscpio diff --git a/_service b/_service index 29834ad..5d6ff4a 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ https://github.com/fwupd/fwupd.git git @PARENT_TAG@ - 1.7.6 + 1.7.7 diff --git a/fwupd-1.7.6.obscpio b/fwupd-1.7.6.obscpio deleted file mode 100644 index 513c480..0000000 --- a/fwupd-1.7.6.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b265f4dbea7f07a191348fd0dfc665176f88d8ca827522905dd28a9a5203e45b -size 13774349 diff --git a/fwupd-1.7.7.obscpio b/fwupd-1.7.7.obscpio new file mode 100644 index 0000000..69f75eb --- /dev/null +++ b/fwupd-1.7.7.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbd16e75703b45c794eec471087e328db6231cce67d58f7db6702c01ffac3e17 +size 13798413 diff --git a/fwupd.changes b/fwupd.changes index 285d079..e389057 100644 --- a/fwupd.changes +++ b/fwupd.changes @@ -1,3 +1,37 @@ +------------------------------------------------------------------- +Sun Apr 17 12:52:22 UTC 2022 - Callum Farmer + +- Update to version 1.7.7: + * This release adds the following features: + + Add CCGX trigger code to support future hardware + + Add signed and unsigned payload metadata to more devices + + Allow overriding the detected machine type + + Allow quirking the flashrom flash size + + Do not allow the DBX update for broken firmware versions + * This release fixes the following bugs: + + Do not add the backup BMC device as it shares the same GUIDs + + Do not hardcode the libexecdir to /usr/libexec + + Do not leak child processes when canceling + + Do not throw away the TPM eventlog when uploading reports to + the LVFS + + Don't export USB4 host controllers if they do not have unique + GUIDs + + Fix build for MacOS + + Fix the TPM eventlog replay for Intel TXT machines + + Fix writing large MTD images + + Never send the DeviceChanged signal with invalid data + + Return the correct error when there is no GPIO device to open + + Show the update message and update image in front end tools + + Support the new PENDING upower device states + * This release adds support for the following hardware: + + Logitech M550, M650 and K650 + + More Elan fingerprint readers + + More Star Labs StarLite laptops + + More Wacom panels found on Lenovo laptops +- Split bash and fish completions to separate subpackages +- Remove un-needed BRP_PESIGN_FILES +- Set GNU_SOURCE so meson detects F_OFD_SETLK in fnctl.h support + ------------------------------------------------------------------- Fri Feb 25 17:22:01 UTC 2022 - Bjørn Lie diff --git a/fwupd.obsinfo b/fwupd.obsinfo index 555fb74..189b3ef 100644 --- a/fwupd.obsinfo +++ b/fwupd.obsinfo @@ -1,4 +1,4 @@ name: fwupd -version: 1.7.6 -mtime: 1645796315 -commit: 171ecdf3efb5b844c84f4d8c833e43bcb1db16eb +version: 1.7.7 +mtime: 1649155828 +commit: 76821bcb78b7557d879f5d723d6faf27464459bb diff --git a/fwupd.spec b/fwupd.spec index 71f2bf5..4bc6011 100644 --- a/fwupd.spec +++ b/fwupd.spec @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - %ifarch %{ix86} x86_64 aarch64 %bcond_without efi_fw_update %else @@ -37,7 +36,7 @@ %endif Name: fwupd -Version: 1.7.6 +Version: 1.7.7 Release: 0 Summary: Device firmware updater daemon License: GPL-2.0-or-later AND LGPL-2.1-or-later @@ -46,14 +45,12 @@ URL: https://fwupd.org/ # Do not use upstream tarball, we are using source service! #Source: https://github.com/%%{name}/%%{name}/archive/%%{version}.tar.gz 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 Patch3: harden_fwupd-offline-update.service.patch Patch4: harden_fwupd-refresh.service.patch - BuildRequires: dejavu-fonts %if %{with fish_support} BuildRequires: fish @@ -185,6 +182,30 @@ Requires: libfwupdplugin5 = %{version} fwupd is a daemon to allows session software to update device firmware on the local machine. +%package bash-completion +Summary: Bash completion for fwupd +Group: System/Management +Requires: bash-completion +Requires: %{name} +Supplements: (%{name} and bash-completion) +BuildArch: noarch + +%description bash-completion +This package contain the bash completion command for the device firmware updater daemon. + +%if %{with fish_support} +%package fish-completion +Summary: Fish completion for fwupd +Group: System/Management +Requires: fish +Requires: %{name} +Supplements: (%{name} and fish) +BuildArch: noarch + +%description fish-completion +This package contain the fish completion command for the device firmware updater daemon. +%endif + %lang_package %prep @@ -195,6 +216,8 @@ for file in $(grep -l %{_bindir}/env . -r); do done %build +# for F_OFD_SETLK detection +export CFLAGS="%{optflags} -D_GNU_SOURCE" # Dell support requires direct SMBIOS access, # Synaptics requires Dell support, i.e. x86 only %meson \ @@ -231,7 +254,6 @@ done %meson_build %install -export BRP_PESIGN_FILES='%{_libexecdir}/fwupd/efi/fwupd*.efi' %meson_install # README.md is packaged as doc rm %{buildroot}/usr/share/doc/fwupd/builder/README.md @@ -272,7 +294,6 @@ rm -fr %{buildroot}%{_datadir}/fish %service_del_postun %{name}.service fwupd-offline-update.service fwupd-refresh.service %files - %license COPYING %doc README.md %{_unitdir}/fwupd.service @@ -345,12 +366,6 @@ rm -fr %{buildroot}%{_datadir}/fish %{_libdir}/fwupd-plugins-5/ %dir %{_datadir}/metainfo %{_datadir}/metainfo/org.freedesktop.fwupd.metainfo.xml -%{_datadir}/bash-completion/completions/fwupdmgr -%{_datadir}/bash-completion/completions/fwupdtool -%{_datadir}/bash-completion/completions/fwupdagent -%if %{with fish_support} -%{_datadir}/fish/vendor_completions.d/fwupdmgr.fish -%endif %{_datadir}/icons/hicolor/* %{_prefix}/lib/systemd/system-shutdown/fwupd.shutdown %{_prefix}/lib/systemd/system-preset/fwupd-refresh.preset @@ -385,4 +400,14 @@ rm -fr %{buildroot}%{_datadir}/fish %{_libdir}/libfwupd.so %{_libdir}/libfwupdplugin.so +%files bash-completion +%{_datadir}/bash-completion/completions/fwupdmgr +%{_datadir}/bash-completion/completions/fwupdtool +%{_datadir}/bash-completion/completions/fwupdagent + +%if %{with fish_support} +%files fish-completion +%{_datadir}/fish/vendor_completions.d/fwupdmgr.fish +%endif + %changelog