diff mbox series

[meta-oe] fwupd: upgrade 2.0.12 -> 2.0.16

Message ID 20251016140555.2602335-1-skandigraun@gmail.com
State Under Review
Headers show
Series [meta-oe] fwupd: upgrade 2.0.12 -> 2.0.16 | expand

Commit Message

Gyorgy Sarvari Oct. 16, 2025, 2:05 p.m. UTC
Dropped two patches which got incorporated in this version.

Changelogs:
2.0.16:
Add a 'search' feature to fwupdtool and fwupdmgr
Fix missing release locations when loading from artifact
Fix remaining issues to make updates on FreeBSD work

2.0.15:
Allow child devices to use the parent name as a prefix
Add newer commands and options for Fish completion
Allow installing archives named as .CAB rather than .cab
Erase Firehose modem devices correctly
Fix Goodix enumeration issues
Fix sending firmware reports without --force
Fix the FreeBSD build
Fix version number of BnR MTD devices
Require additional requirements for the default PS5512 devboard
Require a full system shutdown for all Micron NVMe updates
Use a better name for Elan touchpad and Intel PCH SPI devices

New supported hw:
Foxconn SDX61 Modem
Jabra Evolve2 child devices
NVIDIA ConnectX-6, ConnectX-7 and ConnectX-8 NICs

2.0.14:
Add support for ignoring the network connectivity requirement
Allow building on RHEL-9 and RHEL-10
Allow plugins to know the firmware version during update
Allow UEFI capsule devices to opt-out of Capsule-on-Disk
Allow unsetting HwID plugin context flags
Allow upgrading from a zero "empty" UEFI dbx
Add an automatic firehose counterpart to the QCDM modem device
Disable signature time checks when verifying firmware
Do not add a vendor ID of UNKNOWN when the signature has no vendor
Do not discover ThunderBolt retimer devices when run in single-shot mode
Do not use deprecated libflashrom API
Enhance firmware metadata generation in firmware_packager
Ensure Lexar NVMe drives use a proper version number
Fix parsing and writing UF2 extension sections
Fix Synaptics RMI initialization for new devices
Fix updating DFOTA and MBIM modem devices
Move some vendor name fixups to the quirk file
Remove CapsuleOnDisk HwID match for Dell
Return a sensible error when using build-cabinet wrong
Set the firehose loader filename in a more permissive way
Update the mapping for TPM vendor names
Verify the checksum of the serialized data in tests
Work around a libmbim bug when detaching

New supported hw:
Egis MoC devices
Framework QMK devices
ILITEK touch controllers
SteelSeries Arctis Nova 3P

2.0.13:
Add a daemon config option to ignore efivars free space
Add support for glob-aware version comparison requirements
Allow targeting specific regions in FMAP when using flashrom
Detect static variables and magic numbers during code review
Remove the unused hailuck and rts54hid plugins
Align MTD erase up to the erasesize as necessary
Allow parsing IGSC OptionROM when using fwupdtool
Allow removing private flags from UEFI capsule devices in quirks
Do not copy the vendor for Intel reference ME firmware
Do not use an interactive console if stdout is redirected
Fix the UEFI self-test when the capsule splash is disabled
Get better device information when using PCI-backed MTD devices
Get the Intel GPU SKU and SVN when using BMG hardware
Make MBIM modem devices emulatable
Make sure fwupdtool.exe is available in the Windows PATH
Only show the 'Full Disk Encryption Detected' warning when required
Set all QCDM modem devices to raw mode when updating
Show all devices for fwupdtool get-devices --show-all --force
Show correct dbx version if non-Microsoft entries are present
Show KEK device attributes in fwupdmgr
Use an alternate GUID when the Intel GPU is in recovery mode
Use the kernel netlink hotplug socket when there is no Udev
Various small changes to speed up startup by 60% and lower RSS by 40%

New supported hw:
HP USB-C 100W G6 Dock
Logitech Bulk Controller pheripherals
More MediaTek scaler devices

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
---
 ...certs.py-use-usr-bin-env-for-python3.patch | 28 -----------
 ...-reduce-lzma-compression-level-from-.patch | 47 -------------------
 .../{fwupd_2.0.12.bb => fwupd_2.0.16.bb}      |  4 +-
 3 files changed, 1 insertion(+), 78 deletions(-)
 delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch
 delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch
 rename meta-oe/recipes-bsp/fwupd/{fwupd_2.0.12.bb => fwupd_2.0.16.bb} (93%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch b/meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch
deleted file mode 100644
index 3a4ecb1f29..0000000000
--- a/meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch
+++ /dev/null
@@ -1,28 +0,0 @@ 
-From 2c3896878ba8118b48c55528c6bac98f05f223f3 Mon Sep 17 00:00:00 2001
-From: Mikko Rapeli <mikko.rapeli@linaro.org>
-Date: Thu, 3 Jul 2025 13:34:21 +0000
-Subject: [PATCH] build-certs.py: use /usr/bin/env for python3
-
-Avoids errors if python3 install path is not
-in /usr/bin.
-
-Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
----
- data/tests/build-certs.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Upstream-Status: Submitted [https://github.com/fwupd/fwupd/pull/8998]
-
-diff --git a/data/tests/build-certs.py b/data/tests/build-certs.py
-index 3b8503b72bcf..222e8a4a0f8b 100755
---- a/data/tests/build-certs.py
-+++ b/data/tests/build-certs.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/python3
-+#!/usr/bin/env python3
- # SPDX-License-Identifier: LGPL-2.1+
- 
- import os
--- 
-2.43.0
-
diff --git a/meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch b/meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch
deleted file mode 100644
index b0d3863eaa..0000000000
--- a/meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch
+++ /dev/null
@@ -1,47 +0,0 @@ 
-From c96668ab830d016eeff977d5ca4f99d288cf38c0 Mon Sep 17 00:00:00 2001
-From: Mikko Rapeli <mikko.rapeli@linaro.org>
-Date: Tue, 8 Jul 2025 07:05:02 +0000
-Subject: [PATCH] fu-lzma-common.c: reduce lzma compression level from 9 to
- default 6
-
-xz manual page says default is 6 and levels higher than that can cause
-huge CPU and memory usage. On yocto qemu target, the fwupd tests
-fail to run with compression level 9:
-
-FuSelfTest:ERROR:../sources/fwupd-2.0.12/libfwupdplugin/fu-self-test.c:6342:fu_lzma_func: assertion failed (error == NULL): failed to set up LZMA encoder rc=5 (FwupdError, 10)
-not ok /fwupd/lzma - FuSelfTest:ERROR:../sources/fwupd-2.0.12/libfwupdplugin/fu-self-test.c:6342:fu_lzma_func: assertion failed (error == NULL): failed to set up LZMA encoder rc=5 (FwupdError, 10)
-
-With default compression level 6 the tests pass.
-
-https://linux.die.net/man/1/xz
-
- -6 ... -9
-    Excellent compression with medium to high memory usage.
-    These are also slower than the lower preset levels.
-    The default is -6. Unless you want to maximize the compression ratio,
-    you probably don't want a higher preset level than -7 due to
-    speed and memory usage.
-
-Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
----
- libfwupdplugin/fu-lzma-common.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-Upstream-Status: Submitted [https://github.com/fwupd/fwupd/pull/9019]
-
-diff --git a/libfwupdplugin/fu-lzma-common.c b/libfwupdplugin/fu-lzma-common.c
-index a64ec773da91..d381ed52e135 100644
---- a/libfwupdplugin/fu-lzma-common.c
-+++ b/libfwupdplugin/fu-lzma-common.c
-@@ -89,7 +89,7 @@ fu_lzma_compress_bytes(GBytes *blob, GError **error)
- 	strm.next_in = g_bytes_get_data(blob, NULL);
- 	strm.avail_in = g_bytes_get_size(blob);
- 
--	rc = lzma_easy_encoder(&strm, 9, LZMA_CHECK_CRC64);
-+	rc = lzma_easy_encoder(&strm, 6, LZMA_CHECK_CRC64);
- 	if (rc != LZMA_OK) {
- 		lzma_end(&strm);
- 		g_set_error(error,
--- 
-2.43.0
-
diff --git a/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb b/meta-oe/recipes-bsp/fwupd/fwupd_2.0.16.bb
similarity index 93%
rename from meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb
rename to meta-oe/recipes-bsp/fwupd/fwupd_2.0.16.bb
index eb43c3d865..895ebab838 100644
--- a/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb
+++ b/meta-oe/recipes-bsp/fwupd/fwupd_2.0.16.bb
@@ -17,11 +17,9 @@  DEPENDS = "\
 
 SRC_URI = "\
     https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \
-    file://0001-build-certs.py-use-usr-bin-env-for-python3.patch \
-    file://0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch \
     file://run-ptest \
 "
-SRC_URI[sha256sum] = "83eab17ef2e65249491aef5e99419827b43ac56d40c5b0747b59ee94b147215e"
+SRC_URI[sha256sum] = "79cce6b61d9ea531de0ef3b13e7f2682c699901b11f410b2ed91192618e1620e"
 
 UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
 UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"