[OE-core] [oe-core][pyro][PATCH] autogen-native: Set POSIX_SHELL to /bin/sh
Gabriel Ionescu
gabriel.ionescu at enea.com
Mon Jun 19 11:48:02 UTC 2017
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
More information about the Openembedded-core
mailing list