aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libgpiod
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2021-11-19 13:29:14 +0100
committerKhem Raj <raj.khem@gmail.com>2021-11-19 08:37:31 -0800
commitf065bcdee7f0c97059b073b944882a52f1d587c9 (patch)
treed8c1664336b9f563029c194e7284ee4921c3346e /meta-oe/recipes-support/libgpiod
parent97771cd2f40939207b2b5ef9958d8208562d3fe8 (diff)
downloadmeta-openembedded-f065bcdee7f0c97059b073b944882a52f1d587c9.tar.gz
libgpiod: ptest: rrecommend coreutils
The bats test suite requires the 'timeout' and 'nl' commands to be available. Busybox' default config doesn't include those. They are built by default by coreutils though, so add it to RRECOMMENDS for ptest. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libgpiod')
-rw-r--r--meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb
index 4747846468..51b74ba5b7 100644
--- a/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb
+++ b/meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb
@@ -51,6 +51,7 @@ FILES:${PN}-staticdev += "${PYTHON_SITEPACKAGES_DIR}/*.a"
RRECOMMENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'python3', '${PN}-python', '', d)}"
RRECOMMENDS:${PN}-ptest += " \
kernel-module-gpio-mockup \
+ coreutils \
${@bb.utils.contains('PACKAGECONFIG', 'python3', 'python3-unittest', '', d)} \
"