[OE-core] [PATCH 3/3] xmlto: ensure /bin/bash is used as bash
Ross Burton
ross.burton at intel.com
Sat Mar 5 00:12:03 UTC 2016
The xmlto script uses bashisms and checks at configure time to find a bash
binary. If the build host has /bin/sh as bash then this gets detected, which
causes problems in native builds if the sstate is then shared to a machine with
/bin/sh as dash.
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 514f527..54438ef 100644
--- a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
+++ b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
@@ -27,7 +27,7 @@ RDEPENDS_${PN}_append_class-target = " \
BBCLASSEXTEND = "native"
-EXTRA_OECONF_append = " XMLLINT=xmllint XSLTPROC=xsltproc"
+EXTRA_OECONF_append = " BASH=/bin/bash XMLLINT=xmllint XSLTPROC=xsltproc"
do_install_append() {
install -d ${D}${sysconfdir}/xml/
--
2.7.0
More information about the Openembedded-core
mailing list