Accepting request 873415 from home:polslinux:branches:Base:System

- Update to 1.5.6:
  New features:
    * Add SBAT metadata to the fwupd EFI binary
    * Add support for GD32VF103 as found in the Longan Nano
    * Add support for RMI PS2 devices
    * Add support for the System76 Keyboard
    * Allow downloading firmware from IPFS
    * Install the UX data into a single .tar.xz file
    * Add a plugin to update PixArt RF devices
    * Add new hardware to use the elantp and rts54hid plugins
    * Allow specifying more than one VendorID for a device
    * Detect the AMD TSME encryption state for HSI-4
    * Detect the AMI PK test key is not installed for HSI-1
    * Add Maple Ridge Thunderbolt firmware parsing support
    * Add --no-remote-check to ignore checking for download remotes
    * Allow creating FMAP and Synaptics firmware using builder.xml
  Fixes:
    * Add support for the Starlabs LabTop L4
    * Allow using an external ESP again
    * Ask the user to reboot when required if downgrading
    * Be more paranoid when parsing ASCII buffers and devices
    * Check if the fwupd BootXXXX entry exists on failure
    * Clear the pending flag if restarting the system
    * Do not allow flashing using flashrom if BLE is enabled
    * Do not allow Lenovo hardware to install multiple capsules
    * Do not parse the OptionROM image
    * Do not show Unknown [***] for every client connection
    * Fix dnload wBlockNum wraparound for ST devices
    * Fix OOM when using large ArchiveSizeMax values
    * Fix several crashes spotted by AddressSanitizer
    * Fix several places where the Goodix MOC plugin could crash
    * Include the PCR0 to the report metadata
    * Report the lockdown status from UEFI and SuperIO plugins
    * Show a console warning if the system clock is not set
    * Fix flashing a fingerprint reader that is in use
    * Fix several critical warnings when parsing invalid firmware
    * Fix updating DFU devices that use DNLOAD_BUSY
    * Ignore the legacy UEFI OVMF dummy GUID
    * Make libfwupd more thread safe to fix a crash in gnome-software
    * Never show unprintable chars from invalid firmware in the logs
    * Allow using fwupdtool as non-root for firmware commands
    * Do not trust the Block.HintSystem boolean for ESP filtering
    * Fix a memory leak when parsing Synaptics firmware
    * Fix a possible crash when reading the Goodix MOC USB request
    * Fix crashes when parsing invalid FMAP, DMC, Solokey and Synaptics images
- Deprecate fwupd-bsc1179790-disable-hintsystem.patch

OBS-URL: https://build.opensuse.org/request/show/873415
OBS-URL: https://build.opensuse.org/package/show/Base:System/fwupd?expand=0&rev=97
This commit is contained in:
Dominique Leuenberger 2021-02-19 21:31:07 +00:00 committed by Git OBS Bridge
parent 6db12316c2
commit e9773cb876
9 changed files with 65 additions and 38 deletions

View File

@ -4,7 +4,7 @@
<param name="scm">git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="revision">1.5.3</param>
<param name="revision">1.5.6</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/hughsie/fwupd.git</param>
<param name="changesrevision">e300ca513f812a053e7e262cc5d48150c152bd82</param></service></servicedata>
<param name="changesrevision">260a24449d40c3a94891eac146c5b3ed54bb7345</param></service></servicedata>

View File

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

3
fwupd-1.5.6.tar.xz Normal file
View File

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

View File

@ -12,8 +12,8 @@ Signed-off-by: Gary Lin <glin@suse.com>
Index: fwupd-1.5.2/plugins/uefi/fu-uefi-bootmgr.c
===================================================================
--- fwupd-1.5.2.orig/plugins/uefi/fu-uefi-bootmgr.c
+++ fwupd-1.5.2/plugins/uefi/fu-uefi-bootmgr.c
--- fwupd-1.5.2.orig/plugins/uefi-capsule/fu-uefi-bootmgr.c
+++ fwupd-1.5.2/plugins/uefi-capsule/fu-uefi-bootmgr.c
@@ -274,7 +274,8 @@ fu_uefi_bootmgr_bootnext (FuDevice *devi
secure_boot = fu_efivar_secure_boot_enabled ();
if (secure_boot) {

View File

@ -1,21 +0,0 @@
commit c60e58b2cfa277950cce80c3a4d33a0faaa90f20
Author: Richard Hughes <richard@hughsie.com>
Date: Mon Dec 14 09:36:46 2020 +0000
Do not use the Block.HintSystem boolean for ESP filtering
Fixes https://github.com/fwupd/fwupd/issues/2676
diff --git a/libfwupdplugin/fu-common.c b/libfwupdplugin/fu-common.c
index a3cc2d82..2e25095f 100644
--- a/libfwupdplugin/fu-common.c
+++ b/libfwupdplugin/fu-common.c
@@ -2463,8 +2463,6 @@ fu_common_get_esp_default (GError **error)
g_autofree gchar *type = fu_volume_get_id_type (vol);
if (type == NULL)
continue;
- if (!fu_volume_is_internal (vol))
- continue;
if (g_strcmp0 (type, "vfat") == 0)
g_ptr_array_add (volumes_vfat, vol);
}

View File

@ -1,7 +1,7 @@
diff --git a/plugins/uefi/fu-uefi-common.c b/plugins/uefi/fu-uefi-common.c
diff --git a/plugins/uefi-capsule/fu-uefi-common.c b/plugins/uefi-capsule/fu-uefi-common.c
index 6cd55672..6a710cdb 100644
--- a/plugins/uefi/fu-uefi-common.c
+++ b/plugins/uefi/fu-uefi-common.c
--- a/plugins/uefi-capsule/fu-uefi-common.c
+++ b/plugins/uefi-capsule/fu-uefi-common.c
@@ -227,9 +227,13 @@ fu_uefi_get_esp_path_for_os (const gchar *base)
g_autofree gchar *esp_path = NULL;
g_autoptr(GError) error_local = NULL;

View File

@ -1,3 +1,53 @@
-------------------------------------------------------------------
Thu Feb 18 14:04:13 UTC 2021 - Paolo Stivanin <info@paolostivanin.com>
- Update to 1.5.6:
New features:
* Add SBAT metadata to the fwupd EFI binary
* Add support for GD32VF103 as found in the Longan Nano
* Add support for RMI PS2 devices
* Add support for the System76 Keyboard
* Allow downloading firmware from IPFS
* Install the UX data into a single .tar.xz file
* Add a plugin to update PixArt RF devices
* Add new hardware to use the elantp and rts54hid plugins
* Allow specifying more than one VendorID for a device
* Detect the AMD TSME encryption state for HSI-4
* Detect the AMI PK test key is not installed for HSI-1
* Add Maple Ridge Thunderbolt firmware parsing support
* Add --no-remote-check to ignore checking for download remotes
* Allow creating FMAP and Synaptics firmware using builder.xml
Fixes:
* Add support for the Starlabs LabTop L4
* Allow using an external ESP again
* Ask the user to reboot when required if downgrading
* Be more paranoid when parsing ASCII buffers and devices
* Check if the fwupd BootXXXX entry exists on failure
* Clear the pending flag if restarting the system
* Do not allow flashing using flashrom if BLE is enabled
* Do not allow Lenovo hardware to install multiple capsules
* Do not parse the OptionROM image
* Do not show Unknown [***] for every client connection
* Fix dnload wBlockNum wraparound for ST devices
* Fix OOM when using large ArchiveSizeMax values
* Fix several crashes spotted by AddressSanitizer
* Fix several places where the Goodix MOC plugin could crash
* Include the PCR0 to the report metadata
* Report the lockdown status from UEFI and SuperIO plugins
* Show a console warning if the system clock is not set
* Fix flashing a fingerprint reader that is in use
* Fix several critical warnings when parsing invalid firmware
* Fix updating DFU devices that use DNLOAD_BUSY
* Ignore the legacy UEFI OVMF dummy GUID
* Make libfwupd more thread safe to fix a crash in gnome-software
* Never show unprintable chars from invalid firmware in the logs
* Allow using fwupdtool as non-root for firmware commands
* Do not trust the Block.HintSystem boolean for ESP filtering
* Fix a memory leak when parsing Synaptics firmware
* Fix a possible crash when reading the Goodix MOC USB request
* Fix crashes when parsing invalid FMAP, DMC, Solokey and Synaptics images
- Deprecate fwupd-bsc1179790-disable-hintsystem.patch
-------------------------------------------------------------------
Mon Dec 14 09:58:47 UTC 2020 - Gary Ching-Pang Lin <glin@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package fwupd
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -30,7 +30,7 @@
%endif
Name: fwupd
Version: 1.5.3
Version: 1.5.6
Release: 0
Summary: Device firmware updater daemon
License: GPL-2.0-or-later AND LGPL-2.1-or-later
@ -44,8 +44,6 @@ Source: %{name}-%{version}.tar.xz
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-FIX-UPSTREAM fwupd-bsc1179790-disable-hintsystem.patch bsc#1179790 glin@suse.com Do not use the Block.HintSystem boolean for ESP filtering
Patch3: fwupd-bsc1179790-disable-hintsystem.patch
BuildRequires: dejavu-fonts
%if %{with fish_support}
@ -348,6 +346,9 @@ fi
%{_datadir}/icons/hicolor/*
%{_prefix}/lib/systemd/system-shutdown/fwupd.shutdown
%{_prefix}/lib/systemd/system-preset/fwupd-refresh.preset
%if %{with efi_fw_update}
%{_datadir}/fwupd/uefi-capsule-ux.tar.xz
%endif
%files -n dfu-tool
%{_bindir}/dfu-tool
@ -370,9 +371,6 @@ fi
%{_libdir}/girepository-1.0/FwupdPlugin-1.0.typelib
%files lang -f %{name}.lang
%if %{with efi_fw_update}
%{_datadir}/locale/*/LC_IMAGES/
%endif
%files devel
%doc %{_datadir}/gtk-doc/html/fwupd/