[oe-commits] [openembedded-core] 12/12: coreutils: Fix -dev package dependencies

git at git.openembedded.org git at git.openembedded.org
Wed Mar 11 13:39:36 UTC 2020


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 5463971d45b21512210cf20f3902baf95eacd4c6
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Sun Mar 8 14:35:58 2020 +0000

    coreutils: Fix -dev package dependencies
    
    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 at linuxfoundation.org>
---
 meta/recipes-core/coreutils/coreutils_8.31.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-core/coreutils/coreutils_8.31.bb b/meta/recipes-core/coreutils/coreutils_8.31.bb
index cba0bfe..eac0163 100644
--- a/meta/recipes-core/coreutils/coreutils_8.31.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.31.bb
@@ -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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list