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 <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton 2025-03-27 21:36:25 +00:00 committed by Richard Purdie
parent 1c3020f173
commit d1f59f7267

View 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)}"