From d1f59f72673d08d813f1c6a31389255fa1f4d871 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 27 Mar 2025 21:36:25 +0000 Subject: coreutils: add missing ptest dependencies One tests needs xz, and the acl and attr tests if enabled need the corresponding tools. (From OE-Core rev: 9caa68b9af19fea283ecdd55c4a8afd371fe388a) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-core/coreutils/coreutils_9.6.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)}" -- cgit v1.2.3-54-g00ecf