* [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch
@ 2025-09-24 7:56 Ankur Tyagi
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 1/6] bolt: upgrade 0.9.6 -> 0.9.10 Ankur Tyagi
` (7 more replies)
0 siblings, 8 replies; 17+ messages in thread
From: Ankur Tyagi @ 2025-09-24 7:56 UTC (permalink / raw)
To: openembedded-devel; +Cc: Ankur Tyagi
Trying to keep recipes in the walnascar branch updated with useful fixes
from the master branch.
I intend to submit patch series for each sub-folder, this series is for
the recipes inside "meta-oe/recipes-bsp".
I have tried to carefully review the change logs and commit logs while updating
recipe versions.
Did basic validation by building against qemux86-64 and qemuarm64
machine targets.
Changqing Li (1):
lsscsi: upgrade to version 0.32
Gyorgy Sarvari (1):
ledmon: upgrade 0.97 -> 1.1.0
Mikko Rapeli (2):
fwupd: update to 2.0.12
fwupd-efi: update from 1.6 to 1.7
Wang Mingyu (2):
bolt: upgrade 0.9.6 -> 0.9.10
flashrom: upgrade 1.5.1 -> 1.6.0
.../bolt/{bolt_0.9.6.bb => bolt_0.9.10.bb} | 2 +-
...-meson-Add-options-pciutils-ftdi-usb.patch | 17 ++-
.../{flashrom_1.5.1.bb => flashrom_1.6.0.bb} | 2 +-
..._binary.py-Use-env-to-detect-python3.patch | 23 ---
.../{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} | 5 +-
...certs.py-use-usr-bin-env-for-python3.patch | 28 ++++
...-reduce-lzma-compression-level-from-.patch | 47 ++++++
meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb | 134 ------------------
meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb | 93 ++++++++++++
.../ledmon/0001-fix-build-with-clang.patch | 90 ------------
...nclude-sys-select.h-and-sys-types.h.patch} | 27 ++--
.../{ledmon_0.97.bb => ledmon_1.1.0.bb} | 10 +-
.../lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} | 6 +-
13 files changed, 197 insertions(+), 287 deletions(-)
rename meta-oe/recipes-bsp/bolt/{bolt_0.9.6.bb => bolt_0.9.10.bb} (92%)
rename meta-oe/recipes-bsp/flashrom/{flashrom_1.5.1.bb => flashrom_1.6.0.bb} (89%)
delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch
rename meta-oe/recipes-bsp/fwupd/{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} (90%)
create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch
create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch
delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb
create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb
delete mode 100644 meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch
rename meta-oe/recipes-bsp/ledmon/ledmon/{0002-include-sys-select.h-and-sys-types.h.patch => 0001-include-sys-select.h-and-sys-types.h.patch} (56%)
rename meta-oe/recipes-bsp/ledmon/{ledmon_0.97.bb => ledmon_1.1.0.bb} (79%)
rename meta-oe/recipes-bsp/lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} (63%)
^ permalink raw reply [flat|nested] 17+ messages in thread
* [oe][meta-oe][walnascar][PATCH 1/6] bolt: upgrade 0.9.6 -> 0.9.10
2025-09-24 7:56 [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch Ankur Tyagi
@ 2025-09-24 7:56 ` Ankur Tyagi
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 2/6] flashrom: upgrade 1.5.1 -> 1.6.0 Ankur Tyagi
` (6 subsequent siblings)
7 siblings, 0 replies; 17+ messages in thread
From: Ankur Tyagi @ 2025-09-24 7:56 UTC (permalink / raw)
To: openembedded-devel; +Cc: Wang Mingyu, Khem Raj, Ankur Tyagi
From: Wang Mingyu <wangmy@fujitsu.com>
Changelog:
============
- Fix bolt exits when opening an empty version file
- Fix failure on integration test due to the change of the latest pygobject
- Several CI improvements and fixes.
- Fixed memory leak in boltctl
- The unused codes were removed from daemon
- Fixed a NULL syspath variable causes SIGSEGV
- A new NHI for REMBRANDT.
- CI fixes.
- Don't install an empty DB directory.
- Fixed: Determine the string length before writing file.
- Fixed: Free on error to prevent resource leak.
- Add a 'nopcie' security level since some devices report 'nopcie' when Thunderbolt
is disabled through BIOS setting.
- Markdown lint styling is used for documents.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 98969e3b441183ae8bb0c30258cbe5377c18d979)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
---
meta-oe/recipes-bsp/bolt/{bolt_0.9.6.bb => bolt_0.9.10.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-oe/recipes-bsp/bolt/{bolt_0.9.6.bb => bolt_0.9.10.bb} (92%)
diff --git a/meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb b/meta-oe/recipes-bsp/bolt/bolt_0.9.10.bb
similarity index 92%
rename from meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb
rename to meta-oe/recipes-bsp/bolt/bolt_0.9.10.bb
index c278a0982a..2e7237bd8b 100644
--- a/meta-oe/recipes-bsp/bolt/bolt_0.9.6.bb
+++ b/meta-oe/recipes-bsp/bolt/bolt_0.9.10.bb
@@ -8,7 +8,7 @@ DEPENDS = "udev polkit dbus"
REQUIRED_DISTRO_FEATURES = "polkit"
SRC_URI = "git://gitlab.freedesktop.org/bolt/bolt.git;protocol=https;branch=master"
-SRCREV = "f03c50b22ae3fda26711ddabd91e2c5dd8103478"
+SRCREV = "c0d4cb2f4399e86417907a37c0d8ef3bb9fb406f"
S = "${WORKDIR}/git"
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [oe][meta-oe][walnascar][PATCH 2/6] flashrom: upgrade 1.5.1 -> 1.6.0
2025-09-24 7:56 [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch Ankur Tyagi
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 1/6] bolt: upgrade 0.9.6 -> 0.9.10 Ankur Tyagi
@ 2025-09-24 7:56 ` Ankur Tyagi
2025-09-24 9:59 ` Gyorgy Sarvari
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 3/6] fwupd: update to 2.0.12 Ankur Tyagi
` (5 subsequent siblings)
7 siblings, 1 reply; 17+ messages in thread
From: Ankur Tyagi @ 2025-09-24 7:56 UTC (permalink / raw)
To: openembedded-devel; +Cc: Wang Mingyu, Khem Raj, Ankur Tyagi
From: Wang Mingyu <wangmy@fujitsu.com>
0002-meson-Add-options-pciutils-ftdi-usb.patch
refreshed for 1.6.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d03d56c13e3245933bf2308276deefe03279b4cd)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
---
...02-meson-Add-options-pciutils-ftdi-usb.patch | 17 ++++++++---------
.../{flashrom_1.5.1.bb => flashrom_1.6.0.bb} | 2 +-
2 files changed, 9 insertions(+), 10 deletions(-)
rename meta-oe/recipes-bsp/flashrom/{flashrom_1.5.1.bb => flashrom_1.6.0.bb} (89%)
diff --git a/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch b/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch
index 8dfed855b4..b1dd5d0773 100644
--- a/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch
+++ b/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch
@@ -1,7 +1,7 @@
-From 3ea99c117aa4c7a3502c93e4e4df50b3623e46c3 Mon Sep 17 00:00:00 2001
+From 5cf5fc64c6aab35b89b8cf7f69b84b6f5100d7a6 Mon Sep 17 00:00:00 2001
From: Patrick Rudolph <patrick.rudolph@9elements.com>
Date: Tue, 15 Oct 2024 10:42:05 +0200
-Subject: [PATCH 2/2] meson: Add options pciutils, ftdi, usb
+Subject: [PATCH] meson: Add options pciutils, ftdi, usb
The options have been dropped in favor of an array option called programmer.
Since this doesn't integrate well into yocto add back the old options.
@@ -16,10 +16,10 @@ Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/meson.build b/meson.build
-index 6c8d3d3..61b794d 100644
+index 35feb33..b5bb722 100644
--- a/meson.build
+++ b/meson.build
-@@ -150,9 +150,9 @@ systems_serial = [ 'linux', 'openbsd', 'freebsd', 'dragonfly', 'netbsd', 'da
+@@ -140,9 +140,9 @@ systems_serial = [ 'linux', 'openbsd', 'freebsd', 'dragonfly', 'netbsd', 'da
cpus_port_io = [ 'x86', 'x86_64' ]
@@ -33,10 +33,10 @@ index 6c8d3d3..61b794d 100644
group_serial = get_option('programmer').contains('group_serial')
group_jlink = get_option('programmer').contains('group_jlink')
diff --git a/meson_options.txt b/meson_options.txt
-index 87456a9..570b152 100644
+index 2829cd1..0e9d769 100644
--- a/meson_options.txt
+++ b/meson_options.txt
-@@ -24,4 +24,7 @@ option('ni845x_search_path', type : 'string', value : 'C:\Program Files (x86)\Na
+@@ -26,6 +26,9 @@ option('ni845x_search_path', type : 'string', value : 'C:\Program Files (x86)\Na
option('delay_minimum_sleep_us', type : 'integer', min : 0, value : 100,
description : 'Minimum time in microseconds to suspend execution for (rather than polling) when a delay is required.'
+ ' Larger values may perform better on machines with low timer resolution, at the cost of increased power.')
@@ -44,6 +44,5 @@ index 87456a9..570b152 100644
+option('usb', type : 'boolean', value : false, description : 'Select programmer group usb')
+option('ftdi', type : 'boolean', value : false, description : 'Select programmer group ftdi')
option('rpmc', type : 'feature', value : 'auto', description : 'Support for Replay Protected Monotonic Counter (RPMC) commands as specified by JESD260')
---
-2.43.0
-
+ option('log_message_length_limit', type : 'integer', min : 64, max : 1024, value : 256,
+ description : 'Log message length limit for v2 logging API')
diff --git a/meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb b/meta-oe/recipes-bsp/flashrom/flashrom_1.6.0.bb
similarity index 89%
rename from meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb
rename to meta-oe/recipes-bsp/flashrom/flashrom_1.6.0.bb
index 9a8e81bae3..4f07da79c6 100644
--- a/meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb
+++ b/meta-oe/recipes-bsp/flashrom/flashrom_1.6.0.bb
@@ -7,7 +7,7 @@ SRC_URI = "https://download.flashrom.org/releases/flashrom-v${PV}.tar.xz \
file://0002-meson-Add-options-pciutils-ftdi-usb.patch \
"
-SRC_URI[sha256sum] = "1f934b076ed49eace203655ec249fc7861a6b8e87fe4aef732e47b6e485b6293"
+SRC_URI[sha256sum] = "8b9db3987df9b5fc81e70189d017905dd5f6be1e1410347f22687ab6d4c94423"
S = "${WORKDIR}/flashrom-v${PV}"
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [oe][meta-oe][walnascar][PATCH 3/6] fwupd: update to 2.0.12
2025-09-24 7:56 [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch Ankur Tyagi
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 1/6] bolt: upgrade 0.9.6 -> 0.9.10 Ankur Tyagi
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 2/6] flashrom: upgrade 1.5.1 -> 1.6.0 Ankur Tyagi
@ 2025-09-24 7:56 ` Ankur Tyagi
2025-09-24 10:05 ` Gyorgy Sarvari
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 4/6] fwupd-efi: update from 1.6 to 1.7 Ankur Tyagi
` (4 subsequent siblings)
7 siblings, 1 reply; 17+ messages in thread
From: Ankur Tyagi @ 2025-09-24 7:56 UTC (permalink / raw)
To: openembedded-devel; +Cc: Mikko Rapeli, Khem Raj, Ankur Tyagi
From: Mikko Rapeli <mikko.rapeli@linaro.org>
New major version release which drops many configure
options, changes from libgusb to libusb etc.
Upstream changelogs:
https://github.com/fwupd/fwupd/releases/tag/2.0.0
https://github.com/fwupd/fwupd/releases/tag/2.0.1
https://github.com/fwupd/fwupd/releases/tag/2.0.2
https://github.com/fwupd/fwupd/releases/tag/2.0.3
https://github.com/fwupd/fwupd/releases/tag/2.0.4
https://github.com/fwupd/fwupd/releases/tag/2.0.5
https://github.com/fwupd/fwupd/releases/tag/2.0.6
https://github.com/fwupd/fwupd/releases/tag/2.0.7
https://github.com/fwupd/fwupd/releases/tag/2.0.8
https://github.com/fwupd/fwupd/releases/tag/2.0.9
https://github.com/fwupd/fwupd/releases/tag/2.0.10
https://github.com/fwupd/fwupd/releases/tag/2.0.11
https://github.com/fwupd/fwupd/releases/tag/2.0.12
Tested with genericarm64 machine on qemu with ptests and
manually on AMD KV260.
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 738d27a759228e9a2ee52ca5edf728df7edd588e)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
---
...certs.py-use-usr-bin-env-for-python3.patch | 28 ++++
...-reduce-lzma-compression-level-from-.patch | 47 ++++++
meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb | 134 ------------------
meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb | 93 ++++++++++++
4 files changed, 168 insertions(+), 134 deletions(-)
create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch
create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch
delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb
create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb
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
new file mode 100644
index 0000000000..3a4ecb1f29
--- /dev/null
+++ b/meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch
@@ -0,0 +1,28 @@
+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
new file mode 100644
index 0000000000..b0d3863eaa
--- /dev/null
+++ b/meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch
@@ -0,0 +1,47 @@
+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_1.9.25.bb b/meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb
deleted file mode 100644
index a098bf8eea..0000000000
--- a/meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb
+++ /dev/null
@@ -1,134 +0,0 @@
-SUMMARY = "A simple daemon to allow session software to update firmware"
-LICENSE = "LGPL-2.1-or-later"
-LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
-
-DEPENDS = "glib-2.0 libxmlb json-glib libjcat gcab vala-native python3-jinja2-native"
-
-SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \
- file://run-ptest"
-SRC_URI[sha256sum] = "a1d484778ae87c69b38f417659b33fe3d689373ce0831d1f95617b8aa76e8c37"
-
-UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
-UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
-
-# Machine-specific as we examine MACHINE_FEATURES to decide whether to build the UEFI plugins
-PACKAGE_ARCH = "${MACHINE_ARCH}"
-
-inherit meson vala gobject-introspection systemd bash-completion pkgconfig gi-docgen ptest manpages
-
-GIDOCGEN_MESON_OPTION = 'docs'
-GIDOCGEN_MESON_ENABLE_FLAG = 'enabled'
-GIDOCGEN_MESON_DISABLE_FLAG = 'disabled'
-GIR_MESON_ENABLE_FLAG = 'enabled'
-GIR_MESON_DISABLE_FLAG = 'disabled'
-
-PACKAGECONFIG ??= "curl gnutls gudev gusb \
- ${@bb.utils.filter('DISTRO_FEATURES', 'bluetooth polkit', d)} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd offline', '', d)} \
- ${@bb.utils.contains('MACHINE_FEATURES', 'efi', 'plugin_uefi_capsule plugin_uefi_pk', '', d)} \
- ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
- hsi \
- plugin_android_boot \
- plugin_acpi_phat \
- plugin_bcm57xx \
- plugin_emmc \
- plugin_ep963x \
- plugin_fastboot \
- plugin_flashrom \
- plugin_gpio \
- plugin_igsc \
- plugin_intel_me \
- plugin_intel_spi \
- plugin_logitech_bulkcontroller \
- plugin_logitech_scribe \
- plugin_modem_manager \
- plugin_msr \
- plugin_nitrokey \
- plugin_nvme \
- plugin_parade_lspcon \
- plugin_pixart_rf \
- plugin_realtek_mst \
- plugin_redfish \
- plugin_synaptics_mst \
- plugin_synaptics_rmi \
- plugin_scsi \
- plugin_uf2 \
- plugin_upower \
- sqlite"
-
-PACKAGECONFIG[bluetooth] = "-Dbluez=enabled,-Dbluez=disabled"
-PACKAGECONFIG[compat-cli] = "-Dcompat_cli=true,-Dcompat_cli=false"
-PACKAGECONFIG[consolekit] = "-Dconsolekit=enabled,-Dconsolekit=disabled,consolekit"
-PACKAGECONFIG[curl] = "-Dcurl=enabled,-Dcurl=disabled,curl"
-PACKAGECONFIG[firmware-packager] = "-Dfirmware-packager=true,-Dfirmware-packager=false"
-PACKAGECONFIG[fish-completion] = "-Dfish_completion=true,-Dfish_completion=false"
-PACKAGECONFIG[gnutls] = "-Dgnutls=enabled,-Dgnutls=disabled,gnutls"
-PACKAGECONFIG[gudev] = "-Dgudev=enabled,-Dgudev=disabled,libgudev"
-PACKAGECONFIG[gusb] = "-Dgusb=enabled,-Dgusb=disabled,libgusb"
-PACKAGECONFIG[hsi] = "-Dhsi=enabled,-Dhsi=disabled"
-PACKAGECONFIG[libarchive] = "-Dlibarchive=enabled,-Dlibarchive=disabled,libarchive"
-PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false"
-PACKAGECONFIG[metainfo] = "-Dmetainfo=true,-Dmetainfo=false"
-PACKAGECONFIG[offline] = "-Doffline=enabled,-Doffline=disabled"
-PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit"
-PACKAGECONFIG[sqlite] = "-Dsqlite=enabled,-Dsqlite=disabled,sqlite3"
-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_acpi_phat] = "-Dplugin_acpi_phat=enabled,-Dplugin_acpi_phat=disabled"
-PACKAGECONFIG[plugin_android_boot] = "-Dplugin_android_boot=enabled,-Dplugin_android_boot=disabled"
-PACKAGECONFIG[plugin_bcm57xx] = "-Dplugin_bcm57xx=enabled,-Dplugin_bcm57xx=disabled"
-PACKAGECONFIG[plugin_cfu] = "-Dplugin_cfu=enabled,-Dplugin_cfu=disabled"
-PACKAGECONFIG[plugin_emmc] = "-Dplugin_emmc=enabled,-Dplugin_emmc=disabled"
-PACKAGECONFIG[plugin_ep963x] = "-Dplugin_ep963x=enabled,-Dplugin_ep963x=disabled"
-PACKAGECONFIG[plugin_fastboot] = "-Dplugin_fastboot=enabled,-Dplugin_fastboot=disabled"
-PACKAGECONFIG[plugin_flashrom] = "-Dplugin_flashrom=enabled,-Dplugin_flashrom=disabled,flashrom"
-PACKAGECONFIG[plugin_gpio] = "-Dplugin_gpio=enabled,-Dplugin_gpio=disabled"
-PACKAGECONFIG[plugin_igsc] = "-Dplugin_igsc=enabled,-Dplugin_igsc=disabled"
-PACKAGECONFIG[plugin_intel_me] = "-Dplugin_intel_me=enabled,-Dplugin_intel_me=disabled"
-PACKAGECONFIG[plugin_intel_spi] = "-Dplugin_intel_spi=true -Dlzma=enabled,-Dplugin_intel_spi=false -Dlzma=disabled,xz"
-PACKAGECONFIG[plugin_logitech_bulkcontroller] = "-Dplugin_logitech_bulkcontroller=enabled,-Dplugin_logitech_bulkcontroller=disabled,protobuf-c-native protobuf-c"
-PACKAGECONFIG[plugin_logitech_scribe] = "-Dplugin_logitech_scribe=enabled,-Dplugin_logitech_scribe=disabled"
-PACKAGECONFIG[plugin_modem_manager] = "-Dplugin_modem_manager=enabled,-Dplugin_modem_manager=disabled,libqmi modemmanager"
-PACKAGECONFIG[plugin_msr] = "-Dplugin_msr=enabled,-Dplugin_msr=disabled,cpuid"
-PACKAGECONFIG[plugin_nitrokey] = "-Dplugin_nitrokey=enabled,-Dplugin_nitrokey=disabled"
-PACKAGECONFIG[plugin_nvme] = "-Dplugin_nvme=enabled,-Dplugin_nvme=disabled"
-PACKAGECONFIG[plugin_parade_lspcon] = "-Dplugin_parade_lspcon=enabled,-Dplugin_parade_lspcon=disabled"
-PACKAGECONFIG[plugin_pixart_rf] = "-Dplugin_pixart_rf=enabled,-Dplugin_pixart_rf=disabled"
-PACKAGECONFIG[plugin_powerd] = "-Dplugin_powerd=enabled,-Dplugin_powerd=disabled"
-PACKAGECONFIG[plugin_realtek_mst] = "-Dplugin_realtek_mst=enabled,-Dplugin_realtek_mst=disabled"
-PACKAGECONFIG[plugin_redfish] = "-Dplugin_redfish=enabled,-Dplugin_redfish=disabled"
-PACKAGECONFIG[plugin_scsi] = "-Dplugin_scsi=enabled,-Dplugin_scsi=disabled"
-PACKAGECONFIG[plugin_synaptics_mst] = "-Dplugin_synaptics_mst=enabled,-Dplugin_synaptics_mst=disabled"
-PACKAGECONFIG[plugin_synaptics_rmi] = "-Dplugin_synaptics_rmi=enabled,-Dplugin_synaptics_rmi=disabled"
-PACKAGECONFIG[plugin_tpm] = "-Dplugin_tpm=enabled,-Dplugin_tpm=disabled,tpm2-tss"
-# Turn off the capsule splash as it needs G-I at buildtime, which isn't currently supported
-PACKAGECONFIG[plugin_uefi_capsule] = "-Dplugin_uefi_capsule=enabled -Dplugin_uefi_capsule_splash=false,-Dplugin_uefi_capsule=disabled,efivar fwupd-efi"
-PACKAGECONFIG[plugin_uefi_pk] = "-Dplugin_uefi_pk=enabled,-Dplugin_uefi_pk=disabled"
-PACKAGECONFIG[plugin_uf2] = "-Dplugin_uf2=enabled,-Dplugin_uf2=disabled"
-PACKAGECONFIG[plugin_upower] = "-Dplugin_upower=enabled,-Dplugin_upower=disabled"
-
-# Always disable these plugins on non-x86 platforms as they don't compile or are useless
-DISABLE_NON_X86 = "plugin_intel_me plugin_intel_spi plugin_msr"
-DISABLE_NON_X86:x86 = ""
-DISABLE_NON_X86:x86-64 = ""
-PACKAGECONFIG:remove = "${DISABLE_NON_X86}"
-
-FILES:${PN} += "${libdir}/fwupd-plugins-* \
- ${libdir}/fwupd-${PV} \
- ${systemd_unitdir} \
- ${nonarch_libdir}/sysusers.d/fwupd.conf \
- ${datadir}/fish \
- ${datadir}/metainfo \
- ${datadir}/icons \
- ${datadir}/dbus-1 \
- ${datadir}/polkit-1 \
- ${nonarch_libdir}/modules-load.d"
-
-FILES:${PN}-ptest += "${libexecdir}/installed-tests/ \
- ${datadir}/installed-tests/"
-RDEPENDS:${PN}-ptest += "gnome-desktop-testing"
-
-INSANE_SKIP:${PN}-ptest += "buildpaths"
diff --git a/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb b/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb
new file mode 100644
index 0000000000..eb43c3d865
--- /dev/null
+++ b/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb
@@ -0,0 +1,93 @@
+SUMMARY = "A simple daemon to allow session software to update firmware"
+LICENSE = "LGPL-2.1-or-later"
+LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS = "\
+ curl \
+ gcab \
+ glib-2.0 \
+ json-glib \
+ hwdata \
+ libjcat \
+ libusb \
+ libxmlb \
+ python3-jinja2-native \
+ vala-native \
+"
+
+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"
+
+UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
+UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
+
+# Machine-specific as we examine MACHINE_FEATURES to decide whether to build the UEFI plugins
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+inherit meson vala gobject-introspection systemd bash-completion pkgconfig gi-docgen ptest manpages
+
+GIDOCGEN_MESON_OPTION = 'docs'
+GIDOCGEN_MESON_ENABLE_FLAG = 'enabled'
+GIDOCGEN_MESON_DISABLE_FLAG = 'disabled'
+GIR_MESON_ENABLE_FLAG = 'enabled'
+GIR_MESON_DISABLE_FLAG = 'disabled'
+
+EXTRA_OEMESON = "-Dvendor_ids_dir=${datadir}/hwdata"
+
+PACKAGECONFIG ??= "\
+ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
+ ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
+ ${@bb.utils.filter('DISTRO_FEATURES', 'bluetooth polkit', d)} \
+ gnutls \
+ hsi \
+ plugin_flashrom \
+ plugin_modem_manager \
+ protobuf \
+"
+
+PACKAGECONFIG[bluetooth] = "-Dbluez=enabled,-Dbluez=disabled"
+PACKAGECONFIG[firmware-packager] = "-Dfirmware-packager=true,-Dfirmware-packager=false"
+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"
+PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit"
+PACKAGECONFIG[readline] = "-Dreadline=enabled,-Dreadline=disabled,readline"
+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"
+
+FILES:${PN} += "\
+ ${libdir}/fwupd-plugins-* \
+ ${libdir}/fwupd-${PV} \
+ ${systemd_unitdir} \
+ ${nonarch_libdir}/sysusers.d/fwupd.conf \
+ ${datadir}/fish \
+ ${datadir}/metainfo \
+ ${datadir}/icons \
+ ${datadir}/dbus-1 \
+ ${datadir}/polkit-1 \
+ ${nonarch_libdir}/modules-load.d \
+"
+
+FILES:${PN}-ptest += "${libexecdir}/installed-tests/ \
+ ${datadir}/installed-tests/"
+RDEPENDS:${PN}-ptest += "gnome-desktop-testing python3"
+
+# ESP mounting, not strictly necessary
+RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'udisks2', '', d)}"
+
+INSANE_SKIP:${PN}-ptest += "buildpaths"
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [oe][meta-oe][walnascar][PATCH 4/6] fwupd-efi: update from 1.6 to 1.7
2025-09-24 7:56 [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch Ankur Tyagi
` (2 preceding siblings ...)
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 3/6] fwupd: update to 2.0.12 Ankur Tyagi
@ 2025-09-24 7:56 ` Ankur Tyagi
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 5/6] ledmon: upgrade 0.97 -> 1.1.0 Ankur Tyagi
` (3 subsequent siblings)
7 siblings, 0 replies; 17+ messages in thread
From: Ankur Tyagi @ 2025-09-24 7:56 UTC (permalink / raw)
To: openembedded-devel; +Cc: Mikko Rapeli, Khem Raj, Ankur Tyagi
From: Mikko Rapeli <mikko.rapeli@linaro.org>
Remove upstreamed patch.
https://github.com/fwupd/fwupd-efi/releases/tag/1.7
This release fixes the following bugs:
Fix compilation with GNU-EFI 4.0
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b572fdf8e12c18ad4d349eba692cace4ce584039)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
---
..._binary.py-Use-env-to-detect-python3.patch | 23 -------------------
.../{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} | 5 ++--
2 files changed, 2 insertions(+), 26 deletions(-)
delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch
rename meta-oe/recipes-bsp/fwupd/{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} (90%)
diff --git a/meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch b/meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch
deleted file mode 100644
index c362681421..0000000000
--- a/meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 4c8f95fedecbc590eb7cd98aaf97912fa36b8f2e Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Fri, 7 Jun 2024 23:58:36 -0700
-Subject: [PATCH] efi/generate_binary.py: Use env to detect python3
-
-This enables python3 from native sysroot correctly
-
-Upstream-Status: Pending
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- efi/generate_binary.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/efi/generate_binary.py b/efi/generate_binary.py
-index 443472a..a4611bb 100755
---- a/efi/generate_binary.py
-+++ b/efi/generate_binary.py
-@@ -1,4 +1,4 @@
--#!/usr/bin/python3
-+#!/usr/bin/env python3
- #
- # Copyright (C) 2021 Javier Martinez Canillas <javierm@redhat.com>
- # Copyright (C) 2021 Richard Hughes <richard@hughsie.com>
diff --git a/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.6.bb b/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.7.bb
similarity index 90%
rename from meta-oe/recipes-bsp/fwupd/fwupd-efi_1.6.bb
rename to meta-oe/recipes-bsp/fwupd/fwupd-efi_1.7.bb
index d72f2d9c53..1052437669 100644
--- a/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.6.bb
+++ b/meta-oe/recipes-bsp/fwupd/fwupd-efi_1.7.bb
@@ -2,10 +2,9 @@ SUMMARY = "EFI executable for fwupd"
LICENSE = "LGPL-2.1-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
-SRC_URI = "git://github.com/fwupd/fwupd-efi;protocol=https;branch=main \
- file://0001-efi-generate_binary.py-Use-env-to-detect-python3.patch"
+SRC_URI = "git://github.com/fwupd/fwupd-efi;protocol=https;branch=main"
-SRCREV = "58a2928f778278ab1f7f8fcddbab81ba587a8962"
+SRCREV = "cfd0be286a9b050c1aa4bfa3f0820256903a264a"
S = "${WORKDIR}/git"
DEPENDS = "gnu-efi python3-pefile-native"
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [oe][meta-oe][walnascar][PATCH 5/6] ledmon: upgrade 0.97 -> 1.1.0
2025-09-24 7:56 [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch Ankur Tyagi
` (3 preceding siblings ...)
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 4/6] fwupd-efi: update from 1.6 to 1.7 Ankur Tyagi
@ 2025-09-24 7:56 ` Ankur Tyagi
2025-09-24 10:22 ` Gyorgy Sarvari
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 6/6] lsscsi: upgrade to version 0.32 Ankur Tyagi
` (2 subsequent siblings)
7 siblings, 1 reply; 17+ messages in thread
From: Ankur Tyagi @ 2025-09-24 7:56 UTC (permalink / raw)
To: openembedded-devel; +Cc: Gyorgy Sarvari, Khem Raj, Ankur Tyagi
From: Gyorgy Sarvari <skandigraun@gmail.com>
Dropped 0001-fix-build-with-clang.patch, because it is included in this release.
This update also fixes building for x86 platform.
Changelog:
https://github.com/intel/ledmon/blob/main/CHANGELOG.md
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 219f5c96cc744c73b732ddfb7c62d0448aa565ae)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
---
.../ledmon/0001-fix-build-with-clang.patch | 90 -------------------
...nclude-sys-select.h-and-sys-types.h.patch} | 27 ++----
.../{ledmon_0.97.bb => ledmon_1.1.0.bb} | 10 +--
3 files changed, 13 insertions(+), 114 deletions(-)
delete mode 100644 meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch
rename meta-oe/recipes-bsp/ledmon/ledmon/{0002-include-sys-select.h-and-sys-types.h.patch => 0001-include-sys-select.h-and-sys-types.h.patch} (56%)
rename meta-oe/recipes-bsp/ledmon/{ledmon_0.97.bb => ledmon_1.1.0.bb} (79%)
diff --git a/meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch b/meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch
deleted file mode 100644
index f1e1d6f780..0000000000
--- a/meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch
+++ /dev/null
@@ -1,90 +0,0 @@
-From 28fd86fb4e18af181174176530a80672de4449d2 Mon Sep 17 00:00:00 2001
-From: alperak <alperyasinak1@gmail.com>
-Date: Sat, 18 Nov 2023 12:27:17 +0300
-Subject: [PATCH] fix build with clang
-
-struct ibpi2value is a structure which contains 2 unsigned integers. In
-a number of cases the code was not initializing a value for the last value
-in the pair in struct ibpi2value ibpi_to_attention. This was raised when
-using clang compiler.
-
-vmdssd.c:49:27: error: missing field 'value' initializer
-[-Werror,-Wmissing-field-initializers]
- {LED_IBPI_PATTERN_UNKNOWN}
-
-dellssd.c:74:27: error: missing field 'value' initializer
-[-Werror,-Wmissing-field-initializers]
- {LED_IBPI_PATTERN_UNKNOWN}
-
-amd_ipmi.c:57:27: error: missing field 'value'
-initializer [-Werror,-Wmissing-field-initializers]
- {LED_IBPI_PATTERN_UNKNOWN}
-
-npem.c:76:27: error: missing field 'value'
-initializer [-Werror,-Wmissing-field-initializers]
- {LED_IBPI_PATTERN_UNKNOWN}
-
-Upstream-Status: Submitted [https://github.com/intel/ledmon/pull/179]
-Signed-off-by: alperak <alperyasinak1@gmail.com>
----
- src/amd_ipmi.c | 2 +-
- src/dellssd.c | 2 +-
- src/npem.c | 2 +-
- src/vmdssd.c | 2 +-
- 4 files changed, 4 insertions(+), 4 deletions(-)
-
-diff --git a/src/amd_ipmi.c b/src/amd_ipmi.c
-index 726f77d..ad36e9e 100644
---- a/src/amd_ipmi.c
-+++ b/src/amd_ipmi.c
-@@ -53,7 +53,7 @@ const struct ibpi2value ibpi2amd_ipmi[] = {
- {IBPI_PATTERN_FAILED_ARRAY, 0x45},
- {IBPI_PATTERN_REBUILD, 0x46},
- {IBPI_PATTERN_HOTSPARE, 0x47},
-- {IBPI_PATTERN_UNKNOWN}
-+ {IBPI_PATTERN_UNKNOWN, 0}
- };
-
- #define MG9098_CHIP_ID_REG 0x63
-diff --git a/src/dellssd.c b/src/dellssd.c
-index 3c10ec7..7f02ea1 100644
---- a/src/dellssd.c
-+++ b/src/dellssd.c
-@@ -71,7 +71,7 @@ static const struct ibpi2value ibpi2ssd[] = {
- {IBPI_PATTERN_FAILED_DRIVE, BP_FAULT | BP_ONLINE},
- {IBPI_PATTERN_LOCATE, BP_IDENTIFY | BP_ONLINE},
- {IBPI_PATTERN_LOCATE_OFF, BP_ONLINE},
-- {IBPI_PATTERN_UNKNOWN}
-+ {IBPI_PATTERN_UNKNOWN, 0}
- };
-
- #define DELL_OEM_NETFN 0x30
-diff --git a/src/npem.c b/src/npem.c
-index c21276d..3499169 100644
---- a/src/npem.c
-+++ b/src/npem.c
-@@ -72,7 +72,7 @@ const struct ibpi2value ibpi_to_npem_capability[] = {
- {IBPI_PATTERN_FAILED_DRIVE, PCI_NPEM_FAIL_CAP},
- {IBPI_PATTERN_LOCATE, PCI_NPEM_LOCATE_CAP},
- {IBPI_PATTERN_LOCATE_OFF, PCI_NPEM_OK_CAP},
-- {IBPI_PATTERN_UNKNOWN}
-+ {IBPI_PATTERN_UNKNOWN, 0}
- };
-
- static struct pci_access *get_pci_access()
-diff --git a/src/vmdssd.c b/src/vmdssd.c
-index 51af591..9c63d90 100644
---- a/src/vmdssd.c
-+++ b/src/vmdssd.c
-@@ -45,7 +45,7 @@ struct ibpi2value ibpi_to_attention[] = {
- {IBPI_PATTERN_REBUILD, ATTENTION_REBUILD},
- {IBPI_PATTERN_LOCATE_OFF, ATTENTION_OFF},
- {IBPI_PATTERN_ONESHOT_NORMAL, ATTENTION_OFF},
-- {IBPI_PATTERN_UNKNOWN}
-+ {IBPI_PATTERN_UNKNOWN, 0}
- };
-
- #define SYSFS_PCIEHP "/sys/module/pciehp"
---
-2.25.1
-
diff --git a/meta-oe/recipes-bsp/ledmon/ledmon/0002-include-sys-select.h-and-sys-types.h.patch b/meta-oe/recipes-bsp/ledmon/ledmon/0001-include-sys-select.h-and-sys-types.h.patch
similarity index 56%
rename from meta-oe/recipes-bsp/ledmon/ledmon/0002-include-sys-select.h-and-sys-types.h.patch
rename to meta-oe/recipes-bsp/ledmon/ledmon/0001-include-sys-select.h-and-sys-types.h.patch
index 75bf2b4f5e..833f38a042 100644
--- a/meta-oe/recipes-bsp/ledmon/ledmon/0002-include-sys-select.h-and-sys-types.h.patch
+++ b/meta-oe/recipes-bsp/ledmon/ledmon/0001-include-sys-select.h-and-sys-types.h.patch
@@ -9,16 +9,19 @@ sys/types.h is needed for ssize_t
Upstream-Status: Pending
Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Adapted to latest release - sys/types.h is already included in the project.
+
+Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
---
src/dellssd.c | 1 +
- src/utils.h | 1 +
- 2 files changed, 2 insertions(+)
+ 1 file changed, 1 insertion(+)
-diff --git a/src/dellssd.c b/src/dellssd.c
+diff --git a/src/lib/dellssd.c b/src/lib/dellssd.c
index 7b8d431..e97fe45 100644
---- a/src/dellssd.c
-+++ b/src/dellssd.c
-@@ -27,6 +27,7 @@
+--- a/src/lib/dellssd.c
++++ b/src/lib/dellssd.c
+@@ -13,6 +13,7 @@
#include <unistd.h>
#include <sys/ioctl.h>
@@ -26,18 +29,6 @@ index 7b8d431..e97fe45 100644
#include <linux/ipmi.h>
#if _HAVE_DMALLOC_H
-diff --git a/src/utils.h b/src/utils.h
-index 720447a..c106529 100644
---- a/src/utils.h
-+++ b/src/utils.h
-@@ -21,6 +21,7 @@
- #define _UTILS_H_INCLUDED_
-
- #include <getopt.h>
-+#include <sys/types.h>
- #include "config_file.h"
- #include "stdlib.h"
- #include "stdint.h"
--
2.21.0
diff --git a/meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb b/meta-oe/recipes-bsp/ledmon/ledmon_1.1.0.bb
similarity index 79%
rename from meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb
rename to meta-oe/recipes-bsp/ledmon/ledmon_1.1.0.bb
index 23a49a7d1b..eba5428856 100644
--- a/meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb
+++ b/meta-oe/recipes-bsp/ledmon/ledmon_1.1.0.bb
@@ -8,18 +8,16 @@ HOMEPAGE = "https://github.com/intel/ledmon"
LICENSE = "LGPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
-DEPENDS = "sg3-utils udev pciutils"
+DEPENDS = "autoconf-archive-native sg3-utils udev pciutils"
inherit autotools systemd pkgconfig
SYSTEMD_SERVICE:${PN} = "ledmon.service"
-SRC_URI = "git://github.com/intel/ledmon;branch=master;protocol=https \
- file://0002-include-sys-select.h-and-sys-types.h.patch \
- file://0001-fix-build-with-clang.patch \
- file://Correct-get_uint64.patch"
+SRC_URI = "git://github.com/intel/ledmon;branch=master;protocol=https;tag=v${PV} \
+ file://0001-include-sys-select.h-and-sys-types.h.patch"
-SRCREV = "b0edae14e8660b80ffe0384354038a9f62e2978d"
+SRCREV = "f70201d255b667de00f15880e99732699df6dce0"
COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
COMPATIBLE_HOST:libc-musl = "null"
^ permalink raw reply related [flat|nested] 17+ messages in thread
* [oe][meta-oe][walnascar][PATCH 6/6] lsscsi: upgrade to version 0.32
2025-09-24 7:56 [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch Ankur Tyagi
` (4 preceding siblings ...)
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 5/6] ledmon: upgrade 0.97 -> 1.1.0 Ankur Tyagi
@ 2025-09-24 7:56 ` Ankur Tyagi
2025-09-24 8:02 ` [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch ChenQi
2025-09-24 8:07 ` Mikko Rapeli
7 siblings, 0 replies; 17+ messages in thread
From: Ankur Tyagi @ 2025-09-24 7:56 UTC (permalink / raw)
To: openembedded-devel; +Cc: Changqing Li, Khem Raj, Ankur Tyagi
From: Changqing Li <changqing.li@windriver.com>
Upstream changelogs:
https://sg.danny.cz/scsi/lsscsi.ChangeLog
Changes in this commit are referenced from 51e410a84eaa9742ea8881435925a242fb5529cd.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 51e410a84eaa9742ea8881435925a242fb5529cd)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
---
.../recipes-bsp/lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
rename meta-oe/recipes-bsp/lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} (63%)
diff --git a/meta-oe/recipes-bsp/lsscsi/lsscsi_030.bb b/meta-oe/recipes-bsp/lsscsi/lsscsi_0.32.bb
similarity index 63%
rename from meta-oe/recipes-bsp/lsscsi/lsscsi_030.bb
rename to meta-oe/recipes-bsp/lsscsi/lsscsi_0.32.bb
index 63b94e9d6e..127be8fbfa 100644
--- a/meta-oe/recipes-bsp/lsscsi/lsscsi_030.bb
+++ b/meta-oe/recipes-bsp/lsscsi/lsscsi_0.32.bb
@@ -6,8 +6,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
SRC_URI = "http://sg.danny.cz/scsi/${BP}.tgz"
-SRC_URI[sha256sum] = "619a2187405f02c5f57682f3478bffc75326803cd08839e39d434250c5518b15"
+SRC_URI[sha256sum] = "0a800e9e94dca2ab702d65d72777ae8cae078e3d74d0bcbed64ba0849e8029a1"
inherit autotools
-S = "${WORKDIR}/lsscsi-${PV}r154"
+S = "${WORKDIR}/lsscsi-${PV}"
+
+UPSTREAM_CHECK_REGEX = "lsscsi-(?P<pver>\d+(\.\d+)+)\.tgz"
^ permalink raw reply related [flat|nested] 17+ messages in thread
* Re: [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch
2025-09-24 7:56 [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch Ankur Tyagi
` (5 preceding siblings ...)
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 6/6] lsscsi: upgrade to version 0.32 Ankur Tyagi
@ 2025-09-24 8:02 ` ChenQi
2025-09-24 9:30 ` Ankur Tyagi
2025-09-24 8:07 ` Mikko Rapeli
7 siblings, 1 reply; 17+ messages in thread
From: ChenQi @ 2025-09-24 8:02 UTC (permalink / raw)
To: ankur.tyagi85, openembedded-devel
There are a few major version upgrades in this series.
Regards,
Qi
On 9/24/25 15:56, Ankur Tyagi via lists.openembedded.org wrote:
> Trying to keep recipes in the walnascar branch updated with useful fixes
> from the master branch.
>
> I intend to submit patch series for each sub-folder, this series is for
> the recipes inside "meta-oe/recipes-bsp".
>
> I have tried to carefully review the change logs and commit logs while updating
> recipe versions.
>
> Did basic validation by building against qemux86-64 and qemuarm64
> machine targets.
>
> Changqing Li (1):
> lsscsi: upgrade to version 0.32
>
> Gyorgy Sarvari (1):
> ledmon: upgrade 0.97 -> 1.1.0
>
> Mikko Rapeli (2):
> fwupd: update to 2.0.12
> fwupd-efi: update from 1.6 to 1.7
>
> Wang Mingyu (2):
> bolt: upgrade 0.9.6 -> 0.9.10
> flashrom: upgrade 1.5.1 -> 1.6.0
>
> .../bolt/{bolt_0.9.6.bb => bolt_0.9.10.bb} | 2 +-
> ...-meson-Add-options-pciutils-ftdi-usb.patch | 17 ++-
> .../{flashrom_1.5.1.bb => flashrom_1.6.0.bb} | 2 +-
> ..._binary.py-Use-env-to-detect-python3.patch | 23 ---
> .../{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} | 5 +-
> ...certs.py-use-usr-bin-env-for-python3.patch | 28 ++++
> ...-reduce-lzma-compression-level-from-.patch | 47 ++++++
> meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb | 134 ------------------
> meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb | 93 ++++++++++++
> .../ledmon/0001-fix-build-with-clang.patch | 90 ------------
> ...nclude-sys-select.h-and-sys-types.h.patch} | 27 ++--
> .../{ledmon_0.97.bb => ledmon_1.1.0.bb} | 10 +-
> .../lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} | 6 +-
> 13 files changed, 197 insertions(+), 287 deletions(-)
> rename meta-oe/recipes-bsp/bolt/{bolt_0.9.6.bb => bolt_0.9.10.bb} (92%)
> rename meta-oe/recipes-bsp/flashrom/{flashrom_1.5.1.bb => flashrom_1.6.0.bb} (89%)
> delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch
> rename meta-oe/recipes-bsp/fwupd/{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} (90%)
> create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch
> create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch
> delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb
> create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb
> delete mode 100644 meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch
> rename meta-oe/recipes-bsp/ledmon/ledmon/{0002-include-sys-select.h-and-sys-types.h.patch => 0001-include-sys-select.h-and-sys-types.h.patch} (56%)
> rename meta-oe/recipes-bsp/ledmon/{ledmon_0.97.bb => ledmon_1.1.0.bb} (79%)
> rename meta-oe/recipes-bsp/lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} (63%)
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#119755): https://lists.openembedded.org/g/openembedded-devel/message/119755
> Mute This Topic: https://lists.openembedded.org/mt/115408371/7304865
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [Qi.Chen@eng.windriver.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch
2025-09-24 7:56 [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch Ankur Tyagi
` (6 preceding siblings ...)
2025-09-24 8:02 ` [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch ChenQi
@ 2025-09-24 8:07 ` Mikko Rapeli
2025-09-24 9:09 ` Ankur Tyagi
7 siblings, 1 reply; 17+ messages in thread
From: Mikko Rapeli @ 2025-09-24 8:07 UTC (permalink / raw)
To: ankur.tyagi85; +Cc: openembedded-devel
Hi,
Please take "fwupd: set vendor_ids_dir" from master branch
as well to fix build issues with fwupd.
Cheers,
-Mikko
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch
2025-09-24 8:07 ` Mikko Rapeli
@ 2025-09-24 9:09 ` Ankur Tyagi
0 siblings, 0 replies; 17+ messages in thread
From: Ankur Tyagi @ 2025-09-24 9:09 UTC (permalink / raw)
To: Mikko Rapeli; +Cc: openembedded-devel
On Wed, Sep 24, 2025 at 8:07 PM Mikko Rapeli <mikko.rapeli@linaro.org> wrote:
>
> Hi,
>
> Please take "fwupd: set vendor_ids_dir" from master branch
> as well to fix build issues with fwupd.
>
Thanks Mikko, I had that change locally but missed it in the series.
Will send v2.
> Cheers,
>
> -Mikko
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch
2025-09-24 8:02 ` [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch ChenQi
@ 2025-09-24 9:30 ` Ankur Tyagi
2025-09-24 12:37 ` Mittal, Anuj
0 siblings, 1 reply; 17+ messages in thread
From: Ankur Tyagi @ 2025-09-24 9:30 UTC (permalink / raw)
To: ChenQi; +Cc: openembedded-devel
On Wed, Sep 24, 2025 at 8:02 PM ChenQi <Qi.Chen@windriver.com> wrote:
>
> There are a few major version upgrades in this series.
>
Correct but I found no concern from the respective changelog.
But if you (and others) think it can cause any issue then please let me know
and I'll do some more validation otherwise drop that patch.
> Regards,
> Qi
cheers
Ankur
>
> On 9/24/25 15:56, Ankur Tyagi via lists.openembedded.org wrote:
> > Trying to keep recipes in the walnascar branch updated with useful fixes
> > from the master branch.
> >
> > I intend to submit patch series for each sub-folder, this series is for
> > the recipes inside "meta-oe/recipes-bsp".
> >
> > I have tried to carefully review the change logs and commit logs while updating
> > recipe versions.
> >
> > Did basic validation by building against qemux86-64 and qemuarm64
> > machine targets.
> >
> > Changqing Li (1):
> > lsscsi: upgrade to version 0.32
> >
> > Gyorgy Sarvari (1):
> > ledmon: upgrade 0.97 -> 1.1.0
> >
> > Mikko Rapeli (2):
> > fwupd: update to 2.0.12
> > fwupd-efi: update from 1.6 to 1.7
> >
> > Wang Mingyu (2):
> > bolt: upgrade 0.9.6 -> 0.9.10
> > flashrom: upgrade 1.5.1 -> 1.6.0
> >
> > .../bolt/{bolt_0.9.6.bb => bolt_0.9.10.bb} | 2 +-
> > ...-meson-Add-options-pciutils-ftdi-usb.patch | 17 ++-
> > .../{flashrom_1.5.1.bb => flashrom_1.6.0.bb} | 2 +-
> > ..._binary.py-Use-env-to-detect-python3.patch | 23 ---
> > .../{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} | 5 +-
> > ...certs.py-use-usr-bin-env-for-python3.patch | 28 ++++
> > ...-reduce-lzma-compression-level-from-.patch | 47 ++++++
> > meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb | 134 ------------------
> > meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb | 93 ++++++++++++
> > .../ledmon/0001-fix-build-with-clang.patch | 90 ------------
> > ...nclude-sys-select.h-and-sys-types.h.patch} | 27 ++--
> > .../{ledmon_0.97.bb => ledmon_1.1.0.bb} | 10 +-
> > .../lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} | 6 +-
> > 13 files changed, 197 insertions(+), 287 deletions(-)
> > rename meta-oe/recipes-bsp/bolt/{bolt_0.9.6.bb => bolt_0.9.10.bb} (92%)
> > rename meta-oe/recipes-bsp/flashrom/{flashrom_1.5.1.bb => flashrom_1.6.0.bb} (89%)
> > delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-efi-generate_binary.py-Use-env-to-detect-python3.patch
> > rename meta-oe/recipes-bsp/fwupd/{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} (90%)
> > create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch
> > create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch
> > delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb
> > create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb
> > delete mode 100644 meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch
> > rename meta-oe/recipes-bsp/ledmon/ledmon/{0002-include-sys-select.h-and-sys-types.h.patch => 0001-include-sys-select.h-and-sys-types.h.patch} (56%)
> > rename meta-oe/recipes-bsp/ledmon/{ledmon_0.97.bb => ledmon_1.1.0.bb} (79%)
> > rename meta-oe/recipes-bsp/lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} (63%)
> >
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#119755): https://lists.openembedded.org/g/openembedded-devel/message/119755
> > Mute This Topic: https://lists.openembedded.org/mt/115408371/7304865
> > Group Owner: openembedded-devel+owner@lists.openembedded.org
> > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [Qi.Chen@eng.windriver.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [oe][meta-oe][walnascar][PATCH 2/6] flashrom: upgrade 1.5.1 -> 1.6.0
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 2/6] flashrom: upgrade 1.5.1 -> 1.6.0 Ankur Tyagi
@ 2025-09-24 9:59 ` Gyorgy Sarvari
0 siblings, 0 replies; 17+ messages in thread
From: Gyorgy Sarvari @ 2025-09-24 9:59 UTC (permalink / raw)
To: ankur.tyagi85, openembedded-devel; +Cc: Wang Mingyu, Khem Raj
This one came with a lot of new features and changes, including some cli
changes, and it also deprecated some APIs from the previous version. I'd
rather leave this in master.
On 9/24/25 09:56, Ankur Tyagi via lists.openembedded.org wrote:
> From: Wang Mingyu <wangmy@fujitsu.com>
>
> 0002-meson-Add-options-pciutils-ftdi-usb.patch
> refreshed for 1.6.0
>
> Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> (cherry picked from commit d03d56c13e3245933bf2308276deefe03279b4cd)
> Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
> ---
> ...02-meson-Add-options-pciutils-ftdi-usb.patch | 17 ++++++++---------
> .../{flashrom_1.5.1.bb => flashrom_1.6.0.bb} | 2 +-
> 2 files changed, 9 insertions(+), 10 deletions(-)
> rename meta-oe/recipes-bsp/flashrom/{flashrom_1.5.1.bb => flashrom_1.6.0.bb} (89%)
>
> diff --git a/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch b/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch
> index 8dfed855b4..b1dd5d0773 100644
> --- a/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch
> +++ b/meta-oe/recipes-bsp/flashrom/flashrom/0002-meson-Add-options-pciutils-ftdi-usb.patch
> @@ -1,7 +1,7 @@
> -From 3ea99c117aa4c7a3502c93e4e4df50b3623e46c3 Mon Sep 17 00:00:00 2001
> +From 5cf5fc64c6aab35b89b8cf7f69b84b6f5100d7a6 Mon Sep 17 00:00:00 2001
> From: Patrick Rudolph <patrick.rudolph@9elements.com>
> Date: Tue, 15 Oct 2024 10:42:05 +0200
> -Subject: [PATCH 2/2] meson: Add options pciutils, ftdi, usb
> +Subject: [PATCH] meson: Add options pciutils, ftdi, usb
>
> The options have been dropped in favor of an array option called programmer.
> Since this doesn't integrate well into yocto add back the old options.
> @@ -16,10 +16,10 @@ Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
> 2 files changed, 6 insertions(+), 3 deletions(-)
>
> diff --git a/meson.build b/meson.build
> -index 6c8d3d3..61b794d 100644
> +index 35feb33..b5bb722 100644
> --- a/meson.build
> +++ b/meson.build
> -@@ -150,9 +150,9 @@ systems_serial = [ 'linux', 'openbsd', 'freebsd', 'dragonfly', 'netbsd', 'da
> +@@ -140,9 +140,9 @@ systems_serial = [ 'linux', 'openbsd', 'freebsd', 'dragonfly', 'netbsd', 'da
>
> cpus_port_io = [ 'x86', 'x86_64' ]
>
> @@ -33,10 +33,10 @@ index 6c8d3d3..61b794d 100644
> group_serial = get_option('programmer').contains('group_serial')
> group_jlink = get_option('programmer').contains('group_jlink')
> diff --git a/meson_options.txt b/meson_options.txt
> -index 87456a9..570b152 100644
> +index 2829cd1..0e9d769 100644
> --- a/meson_options.txt
> +++ b/meson_options.txt
> -@@ -24,4 +24,7 @@ option('ni845x_search_path', type : 'string', value : 'C:\Program Files (x86)\Na
> +@@ -26,6 +26,9 @@ option('ni845x_search_path', type : 'string', value : 'C:\Program Files (x86)\Na
> option('delay_minimum_sleep_us', type : 'integer', min : 0, value : 100,
> description : 'Minimum time in microseconds to suspend execution for (rather than polling) when a delay is required.'
> + ' Larger values may perform better on machines with low timer resolution, at the cost of increased power.')
> @@ -44,6 +44,5 @@ index 87456a9..570b152 100644
> +option('usb', type : 'boolean', value : false, description : 'Select programmer group usb')
> +option('ftdi', type : 'boolean', value : false, description : 'Select programmer group ftdi')
> option('rpmc', type : 'feature', value : 'auto', description : 'Support for Replay Protected Monotonic Counter (RPMC) commands as specified by JESD260')
> ---
> -2.43.0
> -
> + option('log_message_length_limit', type : 'integer', min : 64, max : 1024, value : 256,
> + description : 'Log message length limit for v2 logging API')
> diff --git a/meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb b/meta-oe/recipes-bsp/flashrom/flashrom_1.6.0.bb
> similarity index 89%
> rename from meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb
> rename to meta-oe/recipes-bsp/flashrom/flashrom_1.6.0.bb
> index 9a8e81bae3..4f07da79c6 100644
> --- a/meta-oe/recipes-bsp/flashrom/flashrom_1.5.1.bb
> +++ b/meta-oe/recipes-bsp/flashrom/flashrom_1.6.0.bb
> @@ -7,7 +7,7 @@ SRC_URI = "https://download.flashrom.org/releases/flashrom-v${PV}.tar.xz \
> file://0002-meson-Add-options-pciutils-ftdi-usb.patch \
> "
>
> -SRC_URI[sha256sum] = "1f934b076ed49eace203655ec249fc7861a6b8e87fe4aef732e47b6e485b6293"
> +SRC_URI[sha256sum] = "8b9db3987df9b5fc81e70189d017905dd5f6be1e1410347f22687ab6d4c94423"
>
> S = "${WORKDIR}/flashrom-v${PV}"
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#119757): https://lists.openembedded.org/g/openembedded-devel/message/119757
> Mute This Topic: https://lists.openembedded.org/mt/115408375/6084445
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [skandigraun@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [oe][meta-oe][walnascar][PATCH 3/6] fwupd: update to 2.0.12
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 3/6] fwupd: update to 2.0.12 Ankur Tyagi
@ 2025-09-24 10:05 ` Gyorgy Sarvari
0 siblings, 0 replies; 17+ messages in thread
From: Gyorgy Sarvari @ 2025-09-24 10:05 UTC (permalink / raw)
To: ankur.tyagi85, openembedded-devel; +Cc: Mikko Rapeli, Khem Raj
I haven't looked into the changelog, but the recipe changes alone would
break bbappends at least because of PACKAGECONFIG changes - it is not a
drop-in replacement. I'd rather leave this also in master.
On 9/24/25 09:56, Ankur Tyagi via lists.openembedded.org wrote:
> From: Mikko Rapeli <mikko.rapeli@linaro.org>
>
> New major version release which drops many configure
> options, changes from libgusb to libusb etc.
>
> Upstream changelogs:
>
> https://github.com/fwupd/fwupd/releases/tag/2.0.0
> https://github.com/fwupd/fwupd/releases/tag/2.0.1
> https://github.com/fwupd/fwupd/releases/tag/2.0.2
> https://github.com/fwupd/fwupd/releases/tag/2.0.3
> https://github.com/fwupd/fwupd/releases/tag/2.0.4
> https://github.com/fwupd/fwupd/releases/tag/2.0.5
> https://github.com/fwupd/fwupd/releases/tag/2.0.6
> https://github.com/fwupd/fwupd/releases/tag/2.0.7
> https://github.com/fwupd/fwupd/releases/tag/2.0.8
> https://github.com/fwupd/fwupd/releases/tag/2.0.9
> https://github.com/fwupd/fwupd/releases/tag/2.0.10
> https://github.com/fwupd/fwupd/releases/tag/2.0.11
> https://github.com/fwupd/fwupd/releases/tag/2.0.12
>
> Tested with genericarm64 machine on qemu with ptests and
> manually on AMD KV260.
>
> Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> (cherry picked from commit 738d27a759228e9a2ee52ca5edf728df7edd588e)
> Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
> ---
> ...certs.py-use-usr-bin-env-for-python3.patch | 28 ++++
> ...-reduce-lzma-compression-level-from-.patch | 47 ++++++
> meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb | 134 ------------------
> meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb | 93 ++++++++++++
> 4 files changed, 168 insertions(+), 134 deletions(-)
> create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch
> create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch
> delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb
> create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb
>
> 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
> new file mode 100644
> index 0000000000..3a4ecb1f29
> --- /dev/null
> +++ b/meta-oe/recipes-bsp/fwupd/fwupd/0001-build-certs.py-use-usr-bin-env-for-python3.patch
> @@ -0,0 +1,28 @@
> +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
> new file mode 100644
> index 0000000000..b0d3863eaa
> --- /dev/null
> +++ b/meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-lzma-common.c-reduce-lzma-compression-level-from-.patch
> @@ -0,0 +1,47 @@
> +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_1.9.25.bb b/meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb
> deleted file mode 100644
> index a098bf8eea..0000000000
> --- a/meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb
> +++ /dev/null
> @@ -1,134 +0,0 @@
> -SUMMARY = "A simple daemon to allow session software to update firmware"
> -LICENSE = "LGPL-2.1-or-later"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
> -
> -DEPENDS = "glib-2.0 libxmlb json-glib libjcat gcab vala-native python3-jinja2-native"
> -
> -SRC_URI = "https://github.com/${BPN}/${BPN}/releases/download/${PV}/${BP}.tar.xz \
> - file://run-ptest"
> -SRC_URI[sha256sum] = "a1d484778ae87c69b38f417659b33fe3d689373ce0831d1f95617b8aa76e8c37"
> -
> -UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
> -UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
> -
> -# Machine-specific as we examine MACHINE_FEATURES to decide whether to build the UEFI plugins
> -PACKAGE_ARCH = "${MACHINE_ARCH}"
> -
> -inherit meson vala gobject-introspection systemd bash-completion pkgconfig gi-docgen ptest manpages
> -
> -GIDOCGEN_MESON_OPTION = 'docs'
> -GIDOCGEN_MESON_ENABLE_FLAG = 'enabled'
> -GIDOCGEN_MESON_DISABLE_FLAG = 'disabled'
> -GIR_MESON_ENABLE_FLAG = 'enabled'
> -GIR_MESON_DISABLE_FLAG = 'disabled'
> -
> -PACKAGECONFIG ??= "curl gnutls gudev gusb \
> - ${@bb.utils.filter('DISTRO_FEATURES', 'bluetooth polkit', d)} \
> - ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd offline', '', d)} \
> - ${@bb.utils.contains('MACHINE_FEATURES', 'efi', 'plugin_uefi_capsule plugin_uefi_pk', '', d)} \
> - ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
> - hsi \
> - plugin_android_boot \
> - plugin_acpi_phat \
> - plugin_bcm57xx \
> - plugin_emmc \
> - plugin_ep963x \
> - plugin_fastboot \
> - plugin_flashrom \
> - plugin_gpio \
> - plugin_igsc \
> - plugin_intel_me \
> - plugin_intel_spi \
> - plugin_logitech_bulkcontroller \
> - plugin_logitech_scribe \
> - plugin_modem_manager \
> - plugin_msr \
> - plugin_nitrokey \
> - plugin_nvme \
> - plugin_parade_lspcon \
> - plugin_pixart_rf \
> - plugin_realtek_mst \
> - plugin_redfish \
> - plugin_synaptics_mst \
> - plugin_synaptics_rmi \
> - plugin_scsi \
> - plugin_uf2 \
> - plugin_upower \
> - sqlite"
> -
> -PACKAGECONFIG[bluetooth] = "-Dbluez=enabled,-Dbluez=disabled"
> -PACKAGECONFIG[compat-cli] = "-Dcompat_cli=true,-Dcompat_cli=false"
> -PACKAGECONFIG[consolekit] = "-Dconsolekit=enabled,-Dconsolekit=disabled,consolekit"
> -PACKAGECONFIG[curl] = "-Dcurl=enabled,-Dcurl=disabled,curl"
> -PACKAGECONFIG[firmware-packager] = "-Dfirmware-packager=true,-Dfirmware-packager=false"
> -PACKAGECONFIG[fish-completion] = "-Dfish_completion=true,-Dfish_completion=false"
> -PACKAGECONFIG[gnutls] = "-Dgnutls=enabled,-Dgnutls=disabled,gnutls"
> -PACKAGECONFIG[gudev] = "-Dgudev=enabled,-Dgudev=disabled,libgudev"
> -PACKAGECONFIG[gusb] = "-Dgusb=enabled,-Dgusb=disabled,libgusb"
> -PACKAGECONFIG[hsi] = "-Dhsi=enabled,-Dhsi=disabled"
> -PACKAGECONFIG[libarchive] = "-Dlibarchive=enabled,-Dlibarchive=disabled,libarchive"
> -PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false"
> -PACKAGECONFIG[metainfo] = "-Dmetainfo=true,-Dmetainfo=false"
> -PACKAGECONFIG[offline] = "-Doffline=enabled,-Doffline=disabled"
> -PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit"
> -PACKAGECONFIG[sqlite] = "-Dsqlite=enabled,-Dsqlite=disabled,sqlite3"
> -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_acpi_phat] = "-Dplugin_acpi_phat=enabled,-Dplugin_acpi_phat=disabled"
> -PACKAGECONFIG[plugin_android_boot] = "-Dplugin_android_boot=enabled,-Dplugin_android_boot=disabled"
> -PACKAGECONFIG[plugin_bcm57xx] = "-Dplugin_bcm57xx=enabled,-Dplugin_bcm57xx=disabled"
> -PACKAGECONFIG[plugin_cfu] = "-Dplugin_cfu=enabled,-Dplugin_cfu=disabled"
> -PACKAGECONFIG[plugin_emmc] = "-Dplugin_emmc=enabled,-Dplugin_emmc=disabled"
> -PACKAGECONFIG[plugin_ep963x] = "-Dplugin_ep963x=enabled,-Dplugin_ep963x=disabled"
> -PACKAGECONFIG[plugin_fastboot] = "-Dplugin_fastboot=enabled,-Dplugin_fastboot=disabled"
> -PACKAGECONFIG[plugin_flashrom] = "-Dplugin_flashrom=enabled,-Dplugin_flashrom=disabled,flashrom"
> -PACKAGECONFIG[plugin_gpio] = "-Dplugin_gpio=enabled,-Dplugin_gpio=disabled"
> -PACKAGECONFIG[plugin_igsc] = "-Dplugin_igsc=enabled,-Dplugin_igsc=disabled"
> -PACKAGECONFIG[plugin_intel_me] = "-Dplugin_intel_me=enabled,-Dplugin_intel_me=disabled"
> -PACKAGECONFIG[plugin_intel_spi] = "-Dplugin_intel_spi=true -Dlzma=enabled,-Dplugin_intel_spi=false -Dlzma=disabled,xz"
> -PACKAGECONFIG[plugin_logitech_bulkcontroller] = "-Dplugin_logitech_bulkcontroller=enabled,-Dplugin_logitech_bulkcontroller=disabled,protobuf-c-native protobuf-c"
> -PACKAGECONFIG[plugin_logitech_scribe] = "-Dplugin_logitech_scribe=enabled,-Dplugin_logitech_scribe=disabled"
> -PACKAGECONFIG[plugin_modem_manager] = "-Dplugin_modem_manager=enabled,-Dplugin_modem_manager=disabled,libqmi modemmanager"
> -PACKAGECONFIG[plugin_msr] = "-Dplugin_msr=enabled,-Dplugin_msr=disabled,cpuid"
> -PACKAGECONFIG[plugin_nitrokey] = "-Dplugin_nitrokey=enabled,-Dplugin_nitrokey=disabled"
> -PACKAGECONFIG[plugin_nvme] = "-Dplugin_nvme=enabled,-Dplugin_nvme=disabled"
> -PACKAGECONFIG[plugin_parade_lspcon] = "-Dplugin_parade_lspcon=enabled,-Dplugin_parade_lspcon=disabled"
> -PACKAGECONFIG[plugin_pixart_rf] = "-Dplugin_pixart_rf=enabled,-Dplugin_pixart_rf=disabled"
> -PACKAGECONFIG[plugin_powerd] = "-Dplugin_powerd=enabled,-Dplugin_powerd=disabled"
> -PACKAGECONFIG[plugin_realtek_mst] = "-Dplugin_realtek_mst=enabled,-Dplugin_realtek_mst=disabled"
> -PACKAGECONFIG[plugin_redfish] = "-Dplugin_redfish=enabled,-Dplugin_redfish=disabled"
> -PACKAGECONFIG[plugin_scsi] = "-Dplugin_scsi=enabled,-Dplugin_scsi=disabled"
> -PACKAGECONFIG[plugin_synaptics_mst] = "-Dplugin_synaptics_mst=enabled,-Dplugin_synaptics_mst=disabled"
> -PACKAGECONFIG[plugin_synaptics_rmi] = "-Dplugin_synaptics_rmi=enabled,-Dplugin_synaptics_rmi=disabled"
> -PACKAGECONFIG[plugin_tpm] = "-Dplugin_tpm=enabled,-Dplugin_tpm=disabled,tpm2-tss"
> -# Turn off the capsule splash as it needs G-I at buildtime, which isn't currently supported
> -PACKAGECONFIG[plugin_uefi_capsule] = "-Dplugin_uefi_capsule=enabled -Dplugin_uefi_capsule_splash=false,-Dplugin_uefi_capsule=disabled,efivar fwupd-efi"
> -PACKAGECONFIG[plugin_uefi_pk] = "-Dplugin_uefi_pk=enabled,-Dplugin_uefi_pk=disabled"
> -PACKAGECONFIG[plugin_uf2] = "-Dplugin_uf2=enabled,-Dplugin_uf2=disabled"
> -PACKAGECONFIG[plugin_upower] = "-Dplugin_upower=enabled,-Dplugin_upower=disabled"
> -
> -# Always disable these plugins on non-x86 platforms as they don't compile or are useless
> -DISABLE_NON_X86 = "plugin_intel_me plugin_intel_spi plugin_msr"
> -DISABLE_NON_X86:x86 = ""
> -DISABLE_NON_X86:x86-64 = ""
> -PACKAGECONFIG:remove = "${DISABLE_NON_X86}"
> -
> -FILES:${PN} += "${libdir}/fwupd-plugins-* \
> - ${libdir}/fwupd-${PV} \
> - ${systemd_unitdir} \
> - ${nonarch_libdir}/sysusers.d/fwupd.conf \
> - ${datadir}/fish \
> - ${datadir}/metainfo \
> - ${datadir}/icons \
> - ${datadir}/dbus-1 \
> - ${datadir}/polkit-1 \
> - ${nonarch_libdir}/modules-load.d"
> -
> -FILES:${PN}-ptest += "${libexecdir}/installed-tests/ \
> - ${datadir}/installed-tests/"
> -RDEPENDS:${PN}-ptest += "gnome-desktop-testing"
> -
> -INSANE_SKIP:${PN}-ptest += "buildpaths"
> diff --git a/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb b/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb
> new file mode 100644
> index 0000000000..eb43c3d865
> --- /dev/null
> +++ b/meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb
> @@ -0,0 +1,93 @@
> +SUMMARY = "A simple daemon to allow session software to update firmware"
> +LICENSE = "LGPL-2.1-or-later"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
> +
> +DEPENDS = "\
> + curl \
> + gcab \
> + glib-2.0 \
> + json-glib \
> + hwdata \
> + libjcat \
> + libusb \
> + libxmlb \
> + python3-jinja2-native \
> + vala-native \
> +"
> +
> +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"
> +
> +UPSTREAM_CHECK_URI = "https://github.com/${BPN}/${BPN}/releases"
> +UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)"
> +
> +# Machine-specific as we examine MACHINE_FEATURES to decide whether to build the UEFI plugins
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +inherit meson vala gobject-introspection systemd bash-completion pkgconfig gi-docgen ptest manpages
> +
> +GIDOCGEN_MESON_OPTION = 'docs'
> +GIDOCGEN_MESON_ENABLE_FLAG = 'enabled'
> +GIDOCGEN_MESON_DISABLE_FLAG = 'disabled'
> +GIR_MESON_ENABLE_FLAG = 'enabled'
> +GIR_MESON_DISABLE_FLAG = 'disabled'
> +
> +EXTRA_OEMESON = "-Dvendor_ids_dir=${datadir}/hwdata"
> +
> +PACKAGECONFIG ??= "\
> + ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \
> + ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
> + ${@bb.utils.filter('DISTRO_FEATURES', 'bluetooth polkit', d)} \
> + gnutls \
> + hsi \
> + plugin_flashrom \
> + plugin_modem_manager \
> + protobuf \
> +"
> +
> +PACKAGECONFIG[bluetooth] = "-Dbluez=enabled,-Dbluez=disabled"
> +PACKAGECONFIG[firmware-packager] = "-Dfirmware-packager=true,-Dfirmware-packager=false"
> +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"
> +PACKAGECONFIG[polkit] = "-Dpolkit=enabled,-Dpolkit=disabled,polkit"
> +PACKAGECONFIG[readline] = "-Dreadline=enabled,-Dreadline=disabled,readline"
> +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"
> +
> +FILES:${PN} += "\
> + ${libdir}/fwupd-plugins-* \
> + ${libdir}/fwupd-${PV} \
> + ${systemd_unitdir} \
> + ${nonarch_libdir}/sysusers.d/fwupd.conf \
> + ${datadir}/fish \
> + ${datadir}/metainfo \
> + ${datadir}/icons \
> + ${datadir}/dbus-1 \
> + ${datadir}/polkit-1 \
> + ${nonarch_libdir}/modules-load.d \
> +"
> +
> +FILES:${PN}-ptest += "${libexecdir}/installed-tests/ \
> + ${datadir}/installed-tests/"
> +RDEPENDS:${PN}-ptest += "gnome-desktop-testing python3"
> +
> +# ESP mounting, not strictly necessary
> +RRECOMMENDS:${PN} += "${@bb.utils.contains('DISTRO_FEATURES', 'polkit', 'udisks2', '', d)}"
> +
> +INSANE_SKIP:${PN}-ptest += "buildpaths"
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#119758): https://lists.openembedded.org/g/openembedded-devel/message/119758
> Mute This Topic: https://lists.openembedded.org/mt/115408377/6084445
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [skandigraun@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [oe][meta-oe][walnascar][PATCH 5/6] ledmon: upgrade 0.97 -> 1.1.0
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 5/6] ledmon: upgrade 0.97 -> 1.1.0 Ankur Tyagi
@ 2025-09-24 10:22 ` Gyorgy Sarvari
2025-09-24 17:53 ` Ankur Tyagi
0 siblings, 1 reply; 17+ messages in thread
From: Gyorgy Sarvari @ 2025-09-24 10:22 UTC (permalink / raw)
To: Ankur Tyagi, openembedded-devel; +Cc: Khem Raj
This update does some api refactoring[1] - at least one library function
is removed and another has a different return type. This version bump
looks too big for stable branch - if it fixes something important, a
separate patch would be better IMO.
[1]:
https://github.com/intel/ledmon/commit/fec14ba294307eb98798941d5e3ca04ff2a501fb
On 9/24/25 09:56, Ankur Tyagi wrote:
> From: Gyorgy Sarvari <skandigraun@gmail.com>
>
> Dropped 0001-fix-build-with-clang.patch, because it is included in this release.
>
> This update also fixes building for x86 platform.
>
> Changelog:
> https://github.com/intel/ledmon/blob/main/CHANGELOG.md
>
> Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> (cherry picked from commit 219f5c96cc744c73b732ddfb7c62d0448aa565ae)
> Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
> ---
> .../ledmon/0001-fix-build-with-clang.patch | 90 -------------------
> ...nclude-sys-select.h-and-sys-types.h.patch} | 27 ++----
> .../{ledmon_0.97.bb => ledmon_1.1.0.bb} | 10 +--
> 3 files changed, 13 insertions(+), 114 deletions(-)
> delete mode 100644 meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch
> rename meta-oe/recipes-bsp/ledmon/ledmon/{0002-include-sys-select.h-and-sys-types.h.patch => 0001-include-sys-select.h-and-sys-types.h.patch} (56%)
> rename meta-oe/recipes-bsp/ledmon/{ledmon_0.97.bb => ledmon_1.1.0.bb} (79%)
>
> diff --git a/meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch b/meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch
> deleted file mode 100644
> index f1e1d6f780..0000000000
> --- a/meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch
> +++ /dev/null
> @@ -1,90 +0,0 @@
> -From 28fd86fb4e18af181174176530a80672de4449d2 Mon Sep 17 00:00:00 2001
> -From: alperak <alperyasinak1@gmail.com>
> -Date: Sat, 18 Nov 2023 12:27:17 +0300
> -Subject: [PATCH] fix build with clang
> -
> -struct ibpi2value is a structure which contains 2 unsigned integers. In
> -a number of cases the code was not initializing a value for the last value
> -in the pair in struct ibpi2value ibpi_to_attention. This was raised when
> -using clang compiler.
> -
> -vmdssd.c:49:27: error: missing field 'value' initializer
> -[-Werror,-Wmissing-field-initializers]
> - {LED_IBPI_PATTERN_UNKNOWN}
> -
> -dellssd.c:74:27: error: missing field 'value' initializer
> -[-Werror,-Wmissing-field-initializers]
> - {LED_IBPI_PATTERN_UNKNOWN}
> -
> -amd_ipmi.c:57:27: error: missing field 'value'
> -initializer [-Werror,-Wmissing-field-initializers]
> - {LED_IBPI_PATTERN_UNKNOWN}
> -
> -npem.c:76:27: error: missing field 'value'
> -initializer [-Werror,-Wmissing-field-initializers]
> - {LED_IBPI_PATTERN_UNKNOWN}
> -
> -Upstream-Status: Submitted [https://github.com/intel/ledmon/pull/179]
> -Signed-off-by: alperak <alperyasinak1@gmail.com>
> ----
> - src/amd_ipmi.c | 2 +-
> - src/dellssd.c | 2 +-
> - src/npem.c | 2 +-
> - src/vmdssd.c | 2 +-
> - 4 files changed, 4 insertions(+), 4 deletions(-)
> -
> -diff --git a/src/amd_ipmi.c b/src/amd_ipmi.c
> -index 726f77d..ad36e9e 100644
> ---- a/src/amd_ipmi.c
> -+++ b/src/amd_ipmi.c
> -@@ -53,7 +53,7 @@ const struct ibpi2value ibpi2amd_ipmi[] = {
> - {IBPI_PATTERN_FAILED_ARRAY, 0x45},
> - {IBPI_PATTERN_REBUILD, 0x46},
> - {IBPI_PATTERN_HOTSPARE, 0x47},
> -- {IBPI_PATTERN_UNKNOWN}
> -+ {IBPI_PATTERN_UNKNOWN, 0}
> - };
> -
> - #define MG9098_CHIP_ID_REG 0x63
> -diff --git a/src/dellssd.c b/src/dellssd.c
> -index 3c10ec7..7f02ea1 100644
> ---- a/src/dellssd.c
> -+++ b/src/dellssd.c
> -@@ -71,7 +71,7 @@ static const struct ibpi2value ibpi2ssd[] = {
> - {IBPI_PATTERN_FAILED_DRIVE, BP_FAULT | BP_ONLINE},
> - {IBPI_PATTERN_LOCATE, BP_IDENTIFY | BP_ONLINE},
> - {IBPI_PATTERN_LOCATE_OFF, BP_ONLINE},
> -- {IBPI_PATTERN_UNKNOWN}
> -+ {IBPI_PATTERN_UNKNOWN, 0}
> - };
> -
> - #define DELL_OEM_NETFN 0x30
> -diff --git a/src/npem.c b/src/npem.c
> -index c21276d..3499169 100644
> ---- a/src/npem.c
> -+++ b/src/npem.c
> -@@ -72,7 +72,7 @@ const struct ibpi2value ibpi_to_npem_capability[] = {
> - {IBPI_PATTERN_FAILED_DRIVE, PCI_NPEM_FAIL_CAP},
> - {IBPI_PATTERN_LOCATE, PCI_NPEM_LOCATE_CAP},
> - {IBPI_PATTERN_LOCATE_OFF, PCI_NPEM_OK_CAP},
> -- {IBPI_PATTERN_UNKNOWN}
> -+ {IBPI_PATTERN_UNKNOWN, 0}
> - };
> -
> - static struct pci_access *get_pci_access()
> -diff --git a/src/vmdssd.c b/src/vmdssd.c
> -index 51af591..9c63d90 100644
> ---- a/src/vmdssd.c
> -+++ b/src/vmdssd.c
> -@@ -45,7 +45,7 @@ struct ibpi2value ibpi_to_attention[] = {
> - {IBPI_PATTERN_REBUILD, ATTENTION_REBUILD},
> - {IBPI_PATTERN_LOCATE_OFF, ATTENTION_OFF},
> - {IBPI_PATTERN_ONESHOT_NORMAL, ATTENTION_OFF},
> -- {IBPI_PATTERN_UNKNOWN}
> -+ {IBPI_PATTERN_UNKNOWN, 0}
> - };
> -
> - #define SYSFS_PCIEHP "/sys/module/pciehp"
> ---
> -2.25.1
> -
> diff --git a/meta-oe/recipes-bsp/ledmon/ledmon/0002-include-sys-select.h-and-sys-types.h.patch b/meta-oe/recipes-bsp/ledmon/ledmon/0001-include-sys-select.h-and-sys-types.h.patch
> similarity index 56%
> rename from meta-oe/recipes-bsp/ledmon/ledmon/0002-include-sys-select.h-and-sys-types.h.patch
> rename to meta-oe/recipes-bsp/ledmon/ledmon/0001-include-sys-select.h-and-sys-types.h.patch
> index 75bf2b4f5e..833f38a042 100644
> --- a/meta-oe/recipes-bsp/ledmon/ledmon/0002-include-sys-select.h-and-sys-types.h.patch
> +++ b/meta-oe/recipes-bsp/ledmon/ledmon/0001-include-sys-select.h-and-sys-types.h.patch
> @@ -9,16 +9,19 @@ sys/types.h is needed for ssize_t
> Upstream-Status: Pending
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> +
> +Adapted to latest release - sys/types.h is already included in the project.
> +
> +Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
> ---
> src/dellssd.c | 1 +
> - src/utils.h | 1 +
> - 2 files changed, 2 insertions(+)
> + 1 file changed, 1 insertion(+)
>
> -diff --git a/src/dellssd.c b/src/dellssd.c
> +diff --git a/src/lib/dellssd.c b/src/lib/dellssd.c
> index 7b8d431..e97fe45 100644
> ---- a/src/dellssd.c
> -+++ b/src/dellssd.c
> -@@ -27,6 +27,7 @@
> +--- a/src/lib/dellssd.c
> ++++ b/src/lib/dellssd.c
> +@@ -13,6 +13,7 @@
> #include <unistd.h>
>
> #include <sys/ioctl.h>
> @@ -26,18 +29,6 @@ index 7b8d431..e97fe45 100644
> #include <linux/ipmi.h>
>
> #if _HAVE_DMALLOC_H
> -diff --git a/src/utils.h b/src/utils.h
> -index 720447a..c106529 100644
> ---- a/src/utils.h
> -+++ b/src/utils.h
> -@@ -21,6 +21,7 @@
> - #define _UTILS_H_INCLUDED_
> -
> - #include <getopt.h>
> -+#include <sys/types.h>
> - #include "config_file.h"
> - #include "stdlib.h"
> - #include "stdint.h"
> --
> 2.21.0
>
> diff --git a/meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb b/meta-oe/recipes-bsp/ledmon/ledmon_1.1.0.bb
> similarity index 79%
> rename from meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb
> rename to meta-oe/recipes-bsp/ledmon/ledmon_1.1.0.bb
> index 23a49a7d1b..eba5428856 100644
> --- a/meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb
> +++ b/meta-oe/recipes-bsp/ledmon/ledmon_1.1.0.bb
> @@ -8,18 +8,16 @@ HOMEPAGE = "https://github.com/intel/ledmon"
> LICENSE = "LGPL-2.0-only"
> LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
>
> -DEPENDS = "sg3-utils udev pciutils"
> +DEPENDS = "autoconf-archive-native sg3-utils udev pciutils"
>
> inherit autotools systemd pkgconfig
>
> SYSTEMD_SERVICE:${PN} = "ledmon.service"
>
> -SRC_URI = "git://github.com/intel/ledmon;branch=master;protocol=https \
> - file://0002-include-sys-select.h-and-sys-types.h.patch \
> - file://0001-fix-build-with-clang.patch \
> - file://Correct-get_uint64.patch"
> +SRC_URI = "git://github.com/intel/ledmon;branch=master;protocol=https;tag=v${PV} \
> + file://0001-include-sys-select.h-and-sys-types.h.patch"
>
> -SRCREV = "b0edae14e8660b80ffe0384354038a9f62e2978d"
> +SRCREV = "f70201d255b667de00f15880e99732699df6dce0"
>
> COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
> COMPATIBLE_HOST:libc-musl = "null"
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch
2025-09-24 9:30 ` Ankur Tyagi
@ 2025-09-24 12:37 ` Mittal, Anuj
2025-09-24 17:51 ` Ankur Tyagi
0 siblings, 1 reply; 17+ messages in thread
From: Mittal, Anuj @ 2025-09-24 12:37 UTC (permalink / raw)
To: ankur.tyagi85@gmail.com; +Cc: openembedded-devel@lists.openembedded.org
On Wed, 2025-09-24 at 21:30 +1200, Ankur Tyagi via
lists.openembedded.org wrote:
> On Wed, Sep 24, 2025 at 8:02 PM ChenQi <Qi.Chen@windriver.com> wrote:
> >
> > There are a few major version upgrades in this series.
> >
>
> Correct but I found no concern from the respective changelog.
> But if you (and others) think it can cause any issue then please let
> me know
> and I'll do some more validation otherwise drop that patch.
General guidelines and things to look out for:
https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS#Stable/LTS_Patch_Acceptance_Policies
>
> > Regards,
> > Qi
>
> cheers
> Ankur
>
> >
> > On 9/24/25 15:56, Ankur Tyagi via lists.openembedded.org wrote:
> > > Trying to keep recipes in the walnascar branch updated with
> > > useful fixes
> > > from the master branch.
> > >
> > > I intend to submit patch series for each sub-folder, this series
> > > is for
> > > the recipes inside "meta-oe/recipes-bsp".
> > >
> > > I have tried to carefully review the change logs and commit logs
> > > while updating
> > > recipe versions.
> > >
> > > Did basic validation by building against qemux86-64 and qemuarm64
> > > machine targets.
> > >
> > > Changqing Li (1):
> > > lsscsi: upgrade to version 0.32
> > >
> > > Gyorgy Sarvari (1):
> > > ledmon: upgrade 0.97 -> 1.1.0
> > >
> > > Mikko Rapeli (2):
> > > fwupd: update to 2.0.12
> > > fwupd-efi: update from 1.6 to 1.7
> > >
> > > Wang Mingyu (2):
> > > bolt: upgrade 0.9.6 -> 0.9.10
> > > flashrom: upgrade 1.5.1 -> 1.6.0
> > >
> > > .../bolt/{bolt_0.9.6.bb => bolt_0.9.10.bb} | 2 +-
> > > ...-meson-Add-options-pciutils-ftdi-usb.patch | 17 ++-
> > > .../{flashrom_1.5.1.bb => flashrom_1.6.0.bb} | 2 +-
> > > ..._binary.py-Use-env-to-detect-python3.patch | 23 ---
> > > .../{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} | 5 +-
> > > ...certs.py-use-usr-bin-env-for-python3.patch | 28 ++++
> > > ...-reduce-lzma-compression-level-from-.patch | 47 ++++++
> > > meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb | 134 -----------
> > > -------
> > > meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb | 93
> > > ++++++++++++
> > > .../ledmon/0001-fix-build-with-clang.patch | 90 -----------
> > > -
> > > ...nclude-sys-select.h-and-sys-types.h.patch} | 27 ++--
> > > .../{ledmon_0.97.bb => ledmon_1.1.0.bb} | 10 +-
> > > .../lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} | 6 +-
> > > 13 files changed, 197 insertions(+), 287 deletions(-)
> > > rename meta-oe/recipes-bsp/bolt/{bolt_0.9.6.bb =>
> > > bolt_0.9.10.bb} (92%)
> > > rename meta-oe/recipes-bsp/flashrom/{flashrom_1.5.1.bb =>
> > > flashrom_1.6.0.bb} (89%)
> > > delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-
> > > efi-generate_binary.py-Use-env-to-detect-python3.patch
> > > rename meta-oe/recipes-bsp/fwupd/{fwupd-efi_1.6.bb => fwupd-
> > > efi_1.7.bb} (90%)
> > > create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-build-
> > > certs.py-use-usr-bin-env-for-python3.patch
> > > create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-
> > > lzma-common.c-reduce-lzma-compression-level-from-.patch
> > > delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb
> > > create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb
> > > delete mode 100644 meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-
> > > build-with-clang.patch
> > > rename meta-oe/recipes-bsp/ledmon/ledmon/{0002-include-sys-
> > > select.h-and-sys-types.h.patch => 0001-include-sys-select.h-and-
> > > sys-types.h.patch} (56%)
> > > rename meta-oe/recipes-bsp/ledmon/{ledmon_0.97.bb =>
> > > ledmon_1.1.0.bb} (79%)
> > > rename meta-oe/recipes-bsp/lsscsi/{lsscsi_030.bb =>
> > > lsscsi_0.32.bb} (63%)
> > >
> > >
> > >
> > >
> >
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#119795):
> https://lists.openembedded.org/g/openembedded-devel/message/119795
> Mute This Topic: https://lists.openembedded.org/mt/115408371/3616702
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe:
> https://lists.openembedded.org/g/openembedded-devel/unsub [
> anuj.mittal@intel.com]
> -=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch
2025-09-24 12:37 ` Mittal, Anuj
@ 2025-09-24 17:51 ` Ankur Tyagi
0 siblings, 0 replies; 17+ messages in thread
From: Ankur Tyagi @ 2025-09-24 17:51 UTC (permalink / raw)
To: anuj.mittal; +Cc: openembedded-devel@lists.openembedded.org
On Thu, Sep 25, 2025 at 12:37 AM Anuj Mittal via
lists.openembedded.org <anuj.mittal=intel.com@lists.openembedded.org>
wrote:
>
> On Wed, 2025-09-24 at 21:30 +1200, Ankur Tyagi via
> lists.openembedded.org wrote:
> > On Wed, Sep 24, 2025 at 8:02 PM ChenQi <Qi.Chen@windriver.com> wrote:
> > >
> > > There are a few major version upgrades in this series.
> > >
> >
> > Correct but I found no concern from the respective changelog.
> > But if you (and others) think it can cause any issue then please let
> > me know
> > and I'll do some more validation otherwise drop that patch.
>
> General guidelines and things to look out for:
>
> https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS#Stable/LTS_Patch_Acceptance_Policies
>
Thank you Anuj
>
> >
> > > Regards,
> > > Qi
> >
> > cheers
> > Ankur
> >
> > >
> > > On 9/24/25 15:56, Ankur Tyagi via lists.openembedded.org wrote:
> > > > Trying to keep recipes in the walnascar branch updated with
> > > > useful fixes
> > > > from the master branch.
> > > >
> > > > I intend to submit patch series for each sub-folder, this series
> > > > is for
> > > > the recipes inside "meta-oe/recipes-bsp".
> > > >
> > > > I have tried to carefully review the change logs and commit logs
> > > > while updating
> > > > recipe versions.
> > > >
> > > > Did basic validation by building against qemux86-64 and qemuarm64
> > > > machine targets.
> > > >
> > > > Changqing Li (1):
> > > > lsscsi: upgrade to version 0.32
> > > >
> > > > Gyorgy Sarvari (1):
> > > > ledmon: upgrade 0.97 -> 1.1.0
> > > >
> > > > Mikko Rapeli (2):
> > > > fwupd: update to 2.0.12
> > > > fwupd-efi: update from 1.6 to 1.7
> > > >
> > > > Wang Mingyu (2):
> > > > bolt: upgrade 0.9.6 -> 0.9.10
> > > > flashrom: upgrade 1.5.1 -> 1.6.0
> > > >
> > > > .../bolt/{bolt_0.9.6.bb => bolt_0.9.10.bb} | 2 +-
> > > > ...-meson-Add-options-pciutils-ftdi-usb.patch | 17 ++-
> > > > .../{flashrom_1.5.1.bb => flashrom_1.6.0.bb} | 2 +-
> > > > ..._binary.py-Use-env-to-detect-python3.patch | 23 ---
> > > > .../{fwupd-efi_1.6.bb => fwupd-efi_1.7.bb} | 5 +-
> > > > ...certs.py-use-usr-bin-env-for-python3.patch | 28 ++++
> > > > ...-reduce-lzma-compression-level-from-.patch | 47 ++++++
> > > > meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb | 134 -----------
> > > > -------
> > > > meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb | 93
> > > > ++++++++++++
> > > > .../ledmon/0001-fix-build-with-clang.patch | 90 -----------
> > > > -
> > > > ...nclude-sys-select.h-and-sys-types.h.patch} | 27 ++--
> > > > .../{ledmon_0.97.bb => ledmon_1.1.0.bb} | 10 +-
> > > > .../lsscsi/{lsscsi_030.bb => lsscsi_0.32.bb} | 6 +-
> > > > 13 files changed, 197 insertions(+), 287 deletions(-)
> > > > rename meta-oe/recipes-bsp/bolt/{bolt_0.9.6.bb =>
> > > > bolt_0.9.10.bb} (92%)
> > > > rename meta-oe/recipes-bsp/flashrom/{flashrom_1.5.1.bb =>
> > > > flashrom_1.6.0.bb} (89%)
> > > > delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd-efi/0001-
> > > > efi-generate_binary.py-Use-env-to-detect-python3.patch
> > > > rename meta-oe/recipes-bsp/fwupd/{fwupd-efi_1.6.bb => fwupd-
> > > > efi_1.7.bb} (90%)
> > > > create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-build-
> > > > certs.py-use-usr-bin-env-for-python3.patch
> > > > create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd/0001-fu-
> > > > lzma-common.c-reduce-lzma-compression-level-from-.patch
> > > > delete mode 100644 meta-oe/recipes-bsp/fwupd/fwupd_1.9.25.bb
> > > > create mode 100644 meta-oe/recipes-bsp/fwupd/fwupd_2.0.12.bb
> > > > delete mode 100644 meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-
> > > > build-with-clang.patch
> > > > rename meta-oe/recipes-bsp/ledmon/ledmon/{0002-include-sys-
> > > > select.h-and-sys-types.h.patch => 0001-include-sys-select.h-and-
> > > > sys-types.h.patch} (56%)
> > > > rename meta-oe/recipes-bsp/ledmon/{ledmon_0.97.bb =>
> > > > ledmon_1.1.0.bb} (79%)
> > > > rename meta-oe/recipes-bsp/lsscsi/{lsscsi_030.bb =>
> > > > lsscsi_0.32.bb} (63%)
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#119824): https://lists.openembedded.org/g/openembedded-devel/message/119824
> Mute This Topic: https://lists.openembedded.org/mt/115408371/3619737
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ankur.tyagi85@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [oe][meta-oe][walnascar][PATCH 5/6] ledmon: upgrade 0.97 -> 1.1.0
2025-09-24 10:22 ` Gyorgy Sarvari
@ 2025-09-24 17:53 ` Ankur Tyagi
0 siblings, 0 replies; 17+ messages in thread
From: Ankur Tyagi @ 2025-09-24 17:53 UTC (permalink / raw)
To: Gyorgy Sarvari; +Cc: openembedded-devel, Khem Raj
On Wed, Sep 24, 2025 at 10:22 PM Gyorgy Sarvari <skandigraun@gmail.com> wrote:
>
> This update does some api refactoring[1] - at least one library function
> is removed and another has a different return type. This version bump
> looks too big for stable branch - if it fixes something important, a
> separate patch would be better IMO.
>
> [1]:
> https://github.com/intel/ledmon/commit/fec14ba294307eb98798941d5e3ca04ff2a501fb
>
Thanks for the review, I made dumb mistakes this time around.
> On 9/24/25 09:56, Ankur Tyagi wrote:
> > From: Gyorgy Sarvari <skandigraun@gmail.com>
> >
> > Dropped 0001-fix-build-with-clang.patch, because it is included in this release.
> >
> > This update also fixes building for x86 platform.
> >
> > Changelog:
> > https://github.com/intel/ledmon/blob/main/CHANGELOG.md
> >
> > Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > (cherry picked from commit 219f5c96cc744c73b732ddfb7c62d0448aa565ae)
> > Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
> > ---
> > .../ledmon/0001-fix-build-with-clang.patch | 90 -------------------
> > ...nclude-sys-select.h-and-sys-types.h.patch} | 27 ++----
> > .../{ledmon_0.97.bb => ledmon_1.1.0.bb} | 10 +--
> > 3 files changed, 13 insertions(+), 114 deletions(-)
> > delete mode 100644 meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch
> > rename meta-oe/recipes-bsp/ledmon/ledmon/{0002-include-sys-select.h-and-sys-types.h.patch => 0001-include-sys-select.h-and-sys-types.h.patch} (56%)
> > rename meta-oe/recipes-bsp/ledmon/{ledmon_0.97.bb => ledmon_1.1.0.bb} (79%)
> >
> > diff --git a/meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch b/meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch
> > deleted file mode 100644
> > index f1e1d6f780..0000000000
> > --- a/meta-oe/recipes-bsp/ledmon/ledmon/0001-fix-build-with-clang.patch
> > +++ /dev/null
> > @@ -1,90 +0,0 @@
> > -From 28fd86fb4e18af181174176530a80672de4449d2 Mon Sep 17 00:00:00 2001
> > -From: alperak <alperyasinak1@gmail.com>
> > -Date: Sat, 18 Nov 2023 12:27:17 +0300
> > -Subject: [PATCH] fix build with clang
> > -
> > -struct ibpi2value is a structure which contains 2 unsigned integers. In
> > -a number of cases the code was not initializing a value for the last value
> > -in the pair in struct ibpi2value ibpi_to_attention. This was raised when
> > -using clang compiler.
> > -
> > -vmdssd.c:49:27: error: missing field 'value' initializer
> > -[-Werror,-Wmissing-field-initializers]
> > - {LED_IBPI_PATTERN_UNKNOWN}
> > -
> > -dellssd.c:74:27: error: missing field 'value' initializer
> > -[-Werror,-Wmissing-field-initializers]
> > - {LED_IBPI_PATTERN_UNKNOWN}
> > -
> > -amd_ipmi.c:57:27: error: missing field 'value'
> > -initializer [-Werror,-Wmissing-field-initializers]
> > - {LED_IBPI_PATTERN_UNKNOWN}
> > -
> > -npem.c:76:27: error: missing field 'value'
> > -initializer [-Werror,-Wmissing-field-initializers]
> > - {LED_IBPI_PATTERN_UNKNOWN}
> > -
> > -Upstream-Status: Submitted [https://github.com/intel/ledmon/pull/179]
> > -Signed-off-by: alperak <alperyasinak1@gmail.com>
> > ----
> > - src/amd_ipmi.c | 2 +-
> > - src/dellssd.c | 2 +-
> > - src/npem.c | 2 +-
> > - src/vmdssd.c | 2 +-
> > - 4 files changed, 4 insertions(+), 4 deletions(-)
> > -
> > -diff --git a/src/amd_ipmi.c b/src/amd_ipmi.c
> > -index 726f77d..ad36e9e 100644
> > ---- a/src/amd_ipmi.c
> > -+++ b/src/amd_ipmi.c
> > -@@ -53,7 +53,7 @@ const struct ibpi2value ibpi2amd_ipmi[] = {
> > - {IBPI_PATTERN_FAILED_ARRAY, 0x45},
> > - {IBPI_PATTERN_REBUILD, 0x46},
> > - {IBPI_PATTERN_HOTSPARE, 0x47},
> > -- {IBPI_PATTERN_UNKNOWN}
> > -+ {IBPI_PATTERN_UNKNOWN, 0}
> > - };
> > -
> > - #define MG9098_CHIP_ID_REG 0x63
> > -diff --git a/src/dellssd.c b/src/dellssd.c
> > -index 3c10ec7..7f02ea1 100644
> > ---- a/src/dellssd.c
> > -+++ b/src/dellssd.c
> > -@@ -71,7 +71,7 @@ static const struct ibpi2value ibpi2ssd[] = {
> > - {IBPI_PATTERN_FAILED_DRIVE, BP_FAULT | BP_ONLINE},
> > - {IBPI_PATTERN_LOCATE, BP_IDENTIFY | BP_ONLINE},
> > - {IBPI_PATTERN_LOCATE_OFF, BP_ONLINE},
> > -- {IBPI_PATTERN_UNKNOWN}
> > -+ {IBPI_PATTERN_UNKNOWN, 0}
> > - };
> > -
> > - #define DELL_OEM_NETFN 0x30
> > -diff --git a/src/npem.c b/src/npem.c
> > -index c21276d..3499169 100644
> > ---- a/src/npem.c
> > -+++ b/src/npem.c
> > -@@ -72,7 +72,7 @@ const struct ibpi2value ibpi_to_npem_capability[] = {
> > - {IBPI_PATTERN_FAILED_DRIVE, PCI_NPEM_FAIL_CAP},
> > - {IBPI_PATTERN_LOCATE, PCI_NPEM_LOCATE_CAP},
> > - {IBPI_PATTERN_LOCATE_OFF, PCI_NPEM_OK_CAP},
> > -- {IBPI_PATTERN_UNKNOWN}
> > -+ {IBPI_PATTERN_UNKNOWN, 0}
> > - };
> > -
> > - static struct pci_access *get_pci_access()
> > -diff --git a/src/vmdssd.c b/src/vmdssd.c
> > -index 51af591..9c63d90 100644
> > ---- a/src/vmdssd.c
> > -+++ b/src/vmdssd.c
> > -@@ -45,7 +45,7 @@ struct ibpi2value ibpi_to_attention[] = {
> > - {IBPI_PATTERN_REBUILD, ATTENTION_REBUILD},
> > - {IBPI_PATTERN_LOCATE_OFF, ATTENTION_OFF},
> > - {IBPI_PATTERN_ONESHOT_NORMAL, ATTENTION_OFF},
> > -- {IBPI_PATTERN_UNKNOWN}
> > -+ {IBPI_PATTERN_UNKNOWN, 0}
> > - };
> > -
> > - #define SYSFS_PCIEHP "/sys/module/pciehp"
> > ---
> > -2.25.1
> > -
> > diff --git a/meta-oe/recipes-bsp/ledmon/ledmon/0002-include-sys-select.h-and-sys-types.h.patch b/meta-oe/recipes-bsp/ledmon/ledmon/0001-include-sys-select.h-and-sys-types.h.patch
> > similarity index 56%
> > rename from meta-oe/recipes-bsp/ledmon/ledmon/0002-include-sys-select.h-and-sys-types.h.patch
> > rename to meta-oe/recipes-bsp/ledmon/ledmon/0001-include-sys-select.h-and-sys-types.h.patch
> > index 75bf2b4f5e..833f38a042 100644
> > --- a/meta-oe/recipes-bsp/ledmon/ledmon/0002-include-sys-select.h-and-sys-types.h.patch
> > +++ b/meta-oe/recipes-bsp/ledmon/ledmon/0001-include-sys-select.h-and-sys-types.h.patch
> > @@ -9,16 +9,19 @@ sys/types.h is needed for ssize_t
> > Upstream-Status: Pending
> >
> > Signed-off-by: Khem Raj <raj.khem@gmail.com>
> > +
> > +Adapted to latest release - sys/types.h is already included in the project.
> > +
> > +Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
> > ---
> > src/dellssd.c | 1 +
> > - src/utils.h | 1 +
> > - 2 files changed, 2 insertions(+)
> > + 1 file changed, 1 insertion(+)
> >
> > -diff --git a/src/dellssd.c b/src/dellssd.c
> > +diff --git a/src/lib/dellssd.c b/src/lib/dellssd.c
> > index 7b8d431..e97fe45 100644
> > ---- a/src/dellssd.c
> > -+++ b/src/dellssd.c
> > -@@ -27,6 +27,7 @@
> > +--- a/src/lib/dellssd.c
> > ++++ b/src/lib/dellssd.c
> > +@@ -13,6 +13,7 @@
> > #include <unistd.h>
> >
> > #include <sys/ioctl.h>
> > @@ -26,18 +29,6 @@ index 7b8d431..e97fe45 100644
> > #include <linux/ipmi.h>
> >
> > #if _HAVE_DMALLOC_H
> > -diff --git a/src/utils.h b/src/utils.h
> > -index 720447a..c106529 100644
> > ---- a/src/utils.h
> > -+++ b/src/utils.h
> > -@@ -21,6 +21,7 @@
> > - #define _UTILS_H_INCLUDED_
> > -
> > - #include <getopt.h>
> > -+#include <sys/types.h>
> > - #include "config_file.h"
> > - #include "stdlib.h"
> > - #include "stdint.h"
> > --
> > 2.21.0
> >
> > diff --git a/meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb b/meta-oe/recipes-bsp/ledmon/ledmon_1.1.0.bb
> > similarity index 79%
> > rename from meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb
> > rename to meta-oe/recipes-bsp/ledmon/ledmon_1.1.0.bb
> > index 23a49a7d1b..eba5428856 100644
> > --- a/meta-oe/recipes-bsp/ledmon/ledmon_0.97.bb
> > +++ b/meta-oe/recipes-bsp/ledmon/ledmon_1.1.0.bb
> > @@ -8,18 +8,16 @@ HOMEPAGE = "https://github.com/intel/ledmon"
> > LICENSE = "LGPL-2.0-only"
> > LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c"
> >
> > -DEPENDS = "sg3-utils udev pciutils"
> > +DEPENDS = "autoconf-archive-native sg3-utils udev pciutils"
> >
> > inherit autotools systemd pkgconfig
> >
> > SYSTEMD_SERVICE:${PN} = "ledmon.service"
> >
> > -SRC_URI = "git://github.com/intel/ledmon;branch=master;protocol=https \
> > - file://0002-include-sys-select.h-and-sys-types.h.patch \
> > - file://0001-fix-build-with-clang.patch \
> > - file://Correct-get_uint64.patch"
> > +SRC_URI = "git://github.com/intel/ledmon;branch=master;protocol=https;tag=v${PV} \
> > + file://0001-include-sys-select.h-and-sys-types.h.patch"
> >
> > -SRCREV = "b0edae14e8660b80ffe0384354038a9f62e2978d"
> > +SRCREV = "f70201d255b667de00f15880e99732699df6dce0"
> >
> > COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
> > COMPATIBLE_HOST:libc-musl = "null"
>
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2025-09-24 17:53 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-24 7:56 [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch Ankur Tyagi
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 1/6] bolt: upgrade 0.9.6 -> 0.9.10 Ankur Tyagi
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 2/6] flashrom: upgrade 1.5.1 -> 1.6.0 Ankur Tyagi
2025-09-24 9:59 ` Gyorgy Sarvari
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 3/6] fwupd: update to 2.0.12 Ankur Tyagi
2025-09-24 10:05 ` Gyorgy Sarvari
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 4/6] fwupd-efi: update from 1.6 to 1.7 Ankur Tyagi
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 5/6] ledmon: upgrade 0.97 -> 1.1.0 Ankur Tyagi
2025-09-24 10:22 ` Gyorgy Sarvari
2025-09-24 17:53 ` Ankur Tyagi
2025-09-24 7:56 ` [oe][meta-oe][walnascar][PATCH 6/6] lsscsi: upgrade to version 0.32 Ankur Tyagi
2025-09-24 8:02 ` [oe][meta-oe][walnascar][PATCH 0/6] cherry-picks from master branch ChenQi
2025-09-24 9:30 ` Ankur Tyagi
2025-09-24 12:37 ` Mittal, Anuj
2025-09-24 17:51 ` Ankur Tyagi
2025-09-24 8:07 ` Mikko Rapeli
2025-09-24 9:09 ` Ankur Tyagi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.