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
This commit is contained in:
Marcus Meissner 2022-04-19 12:06:59 +00:00 committed by Git OBS Bridge
parent 76ada3a603
commit 2c5dd2773b
6 changed files with 78 additions and 19 deletions

View File

@ -3,7 +3,7 @@
<param name="url">https://github.com/fwupd/fwupd.git</param>
<param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="revision">1.7.6</param>
<param name="revision">1.7.7</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b265f4dbea7f07a191348fd0dfc665176f88d8ca827522905dd28a9a5203e45b
size 13774349

3
fwupd-1.7.7.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dbd16e75703b45c794eec471087e328db6231cce67d58f7db6702c01ffac3e17
size 13798413

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Sun Apr 17 12:52:22 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
- 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 <bjorn.lie@gmail.com>

View File

@ -1,4 +1,4 @@
name: fwupd
version: 1.7.6
mtime: 1645796315
commit: 171ecdf3efb5b844c84f4d8c833e43bcb1db16eb
version: 1.7.7
mtime: 1649155828
commit: 76821bcb78b7557d879f5d723d6faf27464459bb

View File

@ -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