[oe-commits] [openembedded-core] 99/118: xmlto: only target requires coreutils

git at git.openembedded.org git at git.openembedded.org
Wed Jul 20 09:31:13 UTC 2016


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

commit 4a0e3ca3733e2b6f3f20065421dbb9da2058014c
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Sun Jul 17 20:05:52 2016 -0700

    xmlto: only target requires coreutils
    
    The coreutils added to RDEPENDS was for tail command which is everywhere
    on the build host, so only add it to target. There was a side effect if
    coreutils-native was build, when its commands install to sysroots, they
    would be removed during rebuild, and cause other recipes fail to build:
    
    /path/to/tmp/sysroots/x86_64-linux/usr/bin/mkdir -p lib/sys
    make: /path/to/tmp/sysroots/x86_64-linux/usr/bin/mkdir: Command not found
    
    Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
index 14d1009..886e7b4 100644
--- a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
+++ b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
@@ -20,10 +20,10 @@ RDEPENDS_${PN} = "docbook-xml-dtd4 \
                   util-linux \
                   libxml2 \
                   bash \
-                  coreutils \
 "
 RDEPENDS_${PN}_append_class-target = " \
                   libxslt-bin \
+                  coreutils \
 "
 CACHED_CONFIGUREVARS += "ac_cv_path_TAIL=${bindir}/tail"
 

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


More information about the Openembedded-commits mailing list