]> code.ossystems Code Review - openembedded-core.git/commitdiff
coreutils: Fix -dev package dependencies
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 8 Mar 2020 14:35:58 +0000 (14:35 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 11 Mar 2020 11:44:12 +0000 (11:44 +0000)
The new ptest dependencies present some challenges, in particular libmodule-build-perl
which effectively depends on gcc. In multilib images, this results in both
libXX-gcc-symlinks and libYY-gcc-symlinks being installed which conflict. This also
makes little sense.

The easiest way to fix this is to disable the automatic -dev package dependencies
and manually specify the correct ones.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/coreutils/coreutils_8.31.bb

index cba0bfe15ccf4a09f5e3794bb542131a490ae93f..eac016319eb196f572aadea19ae87cff798ef258 100644 (file)
@@ -149,6 +149,10 @@ inherit ptest
 
 RDEPENDS_${PN}-ptest += "bash findutils gawk liberror-perl libmodule-build-perl make perl perl-module-file-stat python3-core sed shadow"
 
+# -dev automatic dependencies fails as we don't want libmodule-build-perl-dev, its too heavy
+RRECOMMENDS_coreutils-dev[nodeprrecs] = "1"
+RRECOMMENDS_coreutils-dev = "acl-dev attr-dev gmp-dev libcap-dev bash-dev findutils-dev gawk-dev shadow-dev"
+
 do_install_ptest () {
     install -d ${D}${PTEST_PATH}/tests
     cp -r ${S}/tests/* ${D}${PTEST_PATH}/tests