[OE-core] [PATCH 3/3] xmlto: ensure /bin/bash is used as bash

Khem Raj raj.khem at gmail.com
Sat Mar 5 05:32:09 UTC 2016


On Mar 5, 2016 8:12 AM, "Ross Burton" <ross.burton at intel.com> wrote:
>
> 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.

While this patch is totally fine I think it could be fixed in code and
submitted upstream. No ?
>
> 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
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160305/267749be/attachment-0002.html>


More information about the Openembedded-core mailing list