On Mar 5, 2016 8:12 AM, "Ross Burton" <ross.bur...@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.bur...@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to