diff mbox series

[meta-oe,12/18] fwupd: upgrade 2.0.19 -> 2.1.7

Message ID 20260729024420.2328180-12-khem.raj@oss.qualcomm.com
State New
Headers show
Series [meta-oe,01/18] atop: upgrade 2.12.1 -> 2.13.0 | expand

Commit Message

Khem Raj July 29, 2026, 2:44 a.m. UTC
Deliberately switch from the conservative 2.0.x branch to upstream's
recommended 2.1.x line (upstream describes 2.0.x as "provided for the more
conservative distros" and recommends 2.1.x for most users).

Notable changes across the 2.1.x arc:
- Remove the flashrom plugin (2.1.0).
- Add native CBOR parsing and drop the libcbor2 dependency (2.1.2).
- No longer depend on json-glib, libarchive or protobuf-c (2.1.2).
- Add a systemd-pcrlock plugin wired into UEFI updates; add MTD lock and TCG
  disk-encryption security attributes and support for externally-managed EFI
  signature lists; enable more plugins when compiling for Android.
- Security/robustness: require trusted metadata for device updates, disallow
  force installs over D-Bus, and numerous segfault / out-of-bounds-read fixes.

2.1.x removed the cbor, libarchive, plugin_flashrom and protobuf
meson options. Removed plugin_flashrom and protobuf from the default
PACKAGECONFIG, deleted the now-dead PACKAGECONFIG for libarchive,
plugin_flashrom, protobuf

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
---
 .../recipes-bsp/fwupd/{fwupd_2.0.19.bb => fwupd_2.1.7.bb} | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
 rename meta-oe/recipes-bsp/fwupd/{fwupd_2.0.19.bb => fwupd_2.1.7.bb} (88%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-bsp/fwupd/fwupd_2.0.19.bb b/meta-oe/recipes-bsp/fwupd/fwupd_2.1.7.bb
similarity index 88%
rename from meta-oe/recipes-bsp/fwupd/fwupd_2.0.19.bb
rename to meta-oe/recipes-bsp/fwupd/fwupd_2.1.7.bb
index 586f7ad1f9..3a30b5d1ee 100644
--- a/meta-oe/recipes-bsp/fwupd/fwupd_2.0.19.bb
+++ b/meta-oe/recipes-bsp/fwupd/fwupd_2.1.7.bb
@@ -6,7 +6,6 @@  DEPENDS = "\
     curl \
     gcab \
     glib-2.0 \
-    json-glib \
     hwdata \
     libjcat \
     libusb \
@@ -19,7 +18,7 @@  SRC_URI = "\
     https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \
     file://run-ptest \
 "
-SRC_URI[sha256sum] = "3bb7a4a1e2d00f0ab513e4c667d7bf5a3ff34a9802757849d3fedf07dd40ddbb"
+SRC_URI[sha256sum] = "472e9426f7a1b18fa9d199666c15482d4ee51ea35e916ca53bb3ca25919edb10"
 
 UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
 UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
@@ -43,9 +42,7 @@  PACKAGECONFIG ??= "\
     ${@bb.utils.filter('DISTRO_FEATURES', 'bluetooth polkit', d)} \
     gnutls \
     hsi \
-    plugin_flashrom \
     plugin_modem_manager \
-    protobuf \
 "
 
 PACKAGECONFIG[bluetooth] = "-Dbluez=enabled,-Dbluez=disabled"
@@ -53,7 +50,6 @@  PACKAGECONFIG[firmware-packager] = "-Dfirmware-packager=true,-Dfirmware-packager
 PACKAGECONFIG[fish-completion] = "-Dfish_completion=true,-Dfish_completion=false"
 PACKAGECONFIG[gnutls] = "-Dgnutls=enabled,-Dgnutls=disabled,gnutls"
 PACKAGECONFIG[hsi] = "-Dhsi=enabled,-Dhsi=disabled"
-PACKAGECONFIG[libarchive] = "-Dlibarchive=enabled,-Dlibarchive=disabled,libarchive"
 PACKAGECONFIG[libdrm] = "-Dlibdrm=enabled,-Dlibdrm=disabled,libdrm"
 PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false"
 PACKAGECONFIG[metainfo] = "-Dmetainfo=true,-Dmetainfo=false"
@@ -63,8 +59,6 @@  PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd"
 PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,gcab-native"
 
 # TODO plugins-all meta-option that expands to all plugin_*?
-PACKAGECONFIG[plugin_flashrom] = "-Dplugin_flashrom=enabled,-Dplugin_flashrom=disabled,flashrom"
-PACKAGECONFIG[protobuf] = "-Dprotobuf=enabled,-Dprotobuf=disabled,protobuf-c-native protobuf-c"
 PACKAGECONFIG[plugin_modem_manager] = "-Dplugin_modem_manager=enabled,-Dplugin_modem_manager=disabled,libqmi modemmanager"
 PACKAGECONFIG[plugin_uefi_capsule_splash] = "-Dplugin_uefi_capsule_splash=true,-Dplugin_uefi_capsule_splash=false,python3-pygobject"