From: Bartosz Golaszewski <[email protected]> The main set of changes in this release doesn't concern yocto - it brings in proper sphinx docs infrastructure for publishin on readthedocs. We still have a bunch of code fixes though and we can also remove the patch we're carrying in the recipe as it's upstream now.
Signed-off-by: Bartosz Golaszewski <[email protected]> --- ...ts-disable-GPIO-simulator-before-rel.patch | 34 ------------------- .../{libgpiod_2.2.bb => libgpiod_2.2.1.bb} | 7 ++-- 2 files changed, 2 insertions(+), 39 deletions(-) delete mode 100644 meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch rename meta-oe/recipes-support/libgpiod/{libgpiod_2.2.bb => libgpiod_2.2.1.bb} (95%) diff --git a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch deleted file mode 100644 index 9747613aa6..0000000000 --- a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 7df2bb4f51281166633d4acbcff5763150add3fa Mon Sep 17 00:00:00 2001 -From: Bartosz Golaszewski <[email protected]> -Date: Mon, 3 Feb 2025 13:20:41 +0100 -Subject: [PATCH] bindings: cxx: tests: disable GPIO simulator before releasing it - -Linux kernel commit 8bd76b3d3f3a ("gpio: sim: lock up configfs that an -instantiated device depends on") uncovered an issue in C++ bindings -tests where the GPIO simulator device is not disabled before removing its -configfs entries. Add a call to gpiosim_dev_disable() to the -gpiosim::chip's destructor. - -Signed-off-by: Bartosz Golaszewski <[email protected]> - -Upstream-Status: Submitted [https://lore.kernel.org/all/[email protected]/] ---- - bindings/cxx/tests/gpiosim.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/bindings/cxx/tests/gpiosim.cpp b/bindings/cxx/tests/gpiosim.cpp -index 4bda5a2..cdecd8d 100644 ---- a/bindings/cxx/tests/gpiosim.cpp -+++ b/bindings/cxx/tests/gpiosim.cpp -@@ -115,7 +115,7 @@ chip::chip(chip&& other) - - chip::~chip() - { -- -+ ::gpiosim_dev_disable(this->_m_priv->dev.get()); - } - - chip& chip::operator=(chip&& other) --- -2.45.2 - diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb similarity index 95% rename from meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb rename to meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb index 054d378451..b72d960c10 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod_2.2.bb +++ b/meta-oe/recipes-support/libgpiod/libgpiod_2.2.1.bb @@ -11,12 +11,9 @@ LIC_FILES_CHKSUM = " \ FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}-2.x:" -SRC_URI += " \ - file://gpio-manager.init \ - file://0001-bindings-cxx-tests-disable-GPIO-simulator-before-rel.patch \ -" +SRC_URI += "file://gpio-manager.init" -SRC_URI[sha256sum] = "ee29735890eb1cc0e4b494001da5163d1a9c4735343201d22485db313601ca07" +SRC_URI[sha256sum] = "0e948049c309b87c220fb24ee0d605d7cd5b72f22376e608470903fffa2d4b18" # Enable all project features for ptest PACKAGECONFIG[tests] = " \ -- 2.45.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#115524): https://lists.openembedded.org/g/openembedded-devel/message/115524 Mute This Topic: https://lists.openembedded.org/mt/111268808/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
