From f065bcdee7f0c97059b073b944882a52f1d587c9 Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Fri, 19 Nov 2021 13:29:14 +0100 Subject: [PATCH] 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 Signed-off-by: Khem Raj --- meta-oe/recipes-support/libgpiod/libgpiod_1.6.3.bb | 1 + 1 file changed, 1 insertion(+) 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 474784646..51b74ba5b 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)} \ "