]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
coreutils: add missing ptest dependencies
authorRoss Burton <ross.burton@arm.com>
Thu, 27 Mar 2025 21:36:25 +0000 (21:36 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 28 Mar 2025 11:19:06 +0000 (11:19 +0000)
One tests needs xz, and the acl and attr tests if enabled need the
corresponding tools.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/coreutils/coreutils_9.6.bb

index 6db435cfcb89ec893dcdb1598ff129354c7bd5f1..d89c75ba66515b47f6827fdfccfebcc9f7c1379b 100644 (file)
@@ -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)}"