]> code.ossystems Code Review - openembedded-core.git/commitdiff
xmlto: ensure /bin/bash is used as bash
authorRoss Burton <ross.burton@intel.com>
Sat, 5 Mar 2016 00:12:03 +0000 (00:12 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 6 Mar 2016 23:52:57 +0000 (23:52 +0000)
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@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/xmlto/xmlto_0.0.28.bb

index 514f527ac75e95a672544c869722fac0cc2e74ec..54438ef01e39d7883d3524be2b43e0bd00082110 100644 (file)
@@ -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/