aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiangyu Chen <xiangyu.chen@windriver.com>2024-04-09 11:02:27 +0800
committerKhem Raj <raj.khem@gmail.com>2024-04-08 23:07:16 -0700
commit4f72481c68575fda086b74479a2d937e8053fcd5 (patch)
tree68a756d546261d27c6e78a662b6d85e9fe231852
parentf6d6122ba70de9fcd36a4bb62aa7bf154b3d202d (diff)
downloadmeta-openembedded-contrib-4f72481c68575fda086b74479a2d937e8053fcd5.tar.gz
libgpiod: fix QA error in ptest RDEPENDS
The bash in ptest RDEPENDS would cause following QA error: ERROR: QA Issue: lib32-libgpiod package lib32-libgpiod-ptest-dev - suspicious values 'bash-dev' in RRECOMMENDS [multilib] Add a ptest enable dependency to avoid this QA error happens. Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb b/meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb
index c62c9a3567..4c13d67eba 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_2.1.1.bb
@@ -21,8 +21,7 @@ FILES:${PN}-ptest += "${libdir}/libgpiosim.so.*"
FILES:${PN}-ptest-dev += "${includedir}/gpiosim.h"
RDEPENDS:${PN}-ptest += " \
- bash \
- ${@bb.utils.contains('PTEST_ENABLED', '1', 'shunit2', '', d)} \
+ ${@bb.utils.contains('PTEST_ENABLED', '1', 'shunit2 bash', '', d)} \
"
RRECOMMENDS:${PN}-ptest += "kernel-module-gpio-sim kernel-module-configfs"