Skip to contentSkip to conversation

xmlto: only target requires coreutils

PATCH New Robert Yang 1 participant 2 messages Jul 18, 2016

lore
Share & tools
lore
#0 lore raw

cover xmlto: only target requires coreutils

The following changes since commit da7a2c7b00b40a8759dbe9f4ab6df3e337e3d6b6:

useradd-staticids: use map() instead of imap() (2016-07-12 23:11:57 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/xmlto
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/xmlto

Robert Yang (1):
xmlto: only target requires coreutils

 meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.9.0
#1 lore raw

PATCH 1/1 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

---
 meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/xmlto/xmlto_0.0.28.bb +1 -1
index 14d1009..886e7b4 100644
@@ -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"
 
Signature · 1 line
2.9.0