From 6c176d69c19118ea3f5d2237e7225c4c4869895e Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Tue, 4 Feb 2025 09:47:42 +0100 Subject: python3-gpiod: fix ptest failure Linux kernel commit 8bd76b3d3f3a ("gpio: sim: lock up configfs that an instantiated device depends on") revealed an issue in libgpiod bindings tests where a GPIO simulator device is not disabled before removing its configfs entries. Add a patch (already submitted upstream) that fixes the observed ptest failures. Signed-off-by: Bartosz Golaszewski Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-gpiod_2.2.3.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta-python/recipes-devtools/python/python3-gpiod_2.2.3.bb') diff --git a/meta-python/recipes-devtools/python/python3-gpiod_2.2.3.bb b/meta-python/recipes-devtools/python/python3-gpiod_2.2.3.bb index 58908ad0d5..bdc7e52ca5 100644 --- a/meta-python/recipes-devtools/python/python3-gpiod_2.2.3.bb +++ b/meta-python/recipes-devtools/python/python3-gpiod_2.2.3.bb @@ -5,7 +5,10 @@ LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & CC-BY-SA-4.0" # package is spun out. LIC_FILES_CHKSUM = "file://setup.py;beginline=241;endline=241;md5=f5ddb56912b7f20bf94aa4d1bdcd3533" -SRC_URI += "file://run-ptest" +SRC_URI += " \ + file://run-ptest \ + file://0001-bindings-python-tests-disable-device-before-releasin.patch \ +" SRC_URI[sha256sum] = "b916c3741dfc4dbcf6224b39e50765f672b137896287715709d49e9f063304c5" -- cgit v1.2.3-54-g00ecf