xmlto: ensure /bin/bash is used as bash

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.

(From OE-Core rev: e89cd308792f613e5b4765dc0f7f21569aaaab6f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2016-03-05 00:12:03 +00:00
committed by Richard Purdie
parent 70b4f36fc2
commit ce5a9df3c4

View 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/