[OE-core] [oe-core][pyro][PATCH] autogen-native: Set POSIX_SHELL to /bin/sh

Burton, Ross ross.burton at intel.com
Mon Jun 19 14:19:59 UTC 2017


Why pyro and not master?

Ross

On 19 June 2017 at 12:48, Gabriel Ionescu <gabriel.ionescu at enea.com> wrote:

> Setting POSIX_SHELL to "/usr/bin/env sh" fails when tested in
> libopts.m4 with test -x "$POSIX_SHELL", because test -x needs
> a file as an argument (e.g. test -x FILE).
>
> Due to the above failure, the build system will use a shell available
> in tmp/hosttools, which can generate shebang lines longer than 128.
>
> This patch sets the POSIX_SHELL variable to "/bin/sh".
>
> Signed-off-by: Gabriel Ionescu <gabriel.ionescu at enea.com>
> ---
>  meta/recipes-devtools/autogen/autogen-native_5.18.12.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/autogen/autogen-native_5.18.12.bb
> b/meta/recipes-devtools/autogen/autogen-native_5.18.12.bb
> index 853477c..9be03fc 100644
> --- a/meta/recipes-devtools/autogen/autogen-native_5.18.12.bb
> +++ b/meta/recipes-devtools/autogen/autogen-native_5.18.12.bb
> @@ -31,7 +31,7 @@ inherit autotools texinfo native pkgconfig
>  export GUILE_LOAD_PATH = "${STAGING_DATADIR_NATIVE}/guile/2.0"
>  export GUILE_LOAD_COMPILED_PATH = "${STAGING_LIBDIR_NATIVE}/
> guile/2.0/ccache"
>
> -export POSIX_SHELL = "/usr/bin/env sh"
> +export POSIX_SHELL = "/bin/sh"
>
>  do_install_append () {
>         create_wrapper ${D}/${bindir}/autogen \
> --
> 2.7.4
>
> --
> _______________________________________________
> 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/20170619/136879a4/attachment-0002.html>


More information about the Openembedded-core mailing list