From: Ross Burton Date: Thu, 27 Mar 2025 21:36:25 +0000 (+0000) Subject: coreutils: add missing ptest dependencies X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9caa68b9af19fea283ecdd55c4a8afd371fe388a;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git coreutils: add missing ptest dependencies One tests needs xz, and the acl and attr tests if enabled need the corresponding tools. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/coreutils/coreutils_9.6.bb b/meta/recipes-core/coreutils/coreutils_9.6.bb index 6db435cfcb..d89c75ba66 100644 --- a/meta/recipes-core/coreutils/coreutils_9.6.bb +++ b/meta/recipes-core/coreutils/coreutils_9.6.bb @@ -222,4 +222,7 @@ do_install_ptest:append:libc-musl () { sed -i -e '/tests\/dd\/no-allocate.sh/d' ${D}${PTEST_PATH}/Makefile sed -i -e '/tests\/split\/line-bytes.sh/d' ${D}${PTEST_PATH}/Makefile } -RDEPENDS:${PN}-ptest += "${PN}-getlimits" + +RDEPENDS:${PN}-ptest += "${PN}-getlimits xz \ + ${@bb.utils.contains('PACKAGECONFIG', 'acl', 'acl', '', d)} \ + ${@bb.utils.contains('PACKAGECONFIG', 'xattr', 'attr', '', d)}"