From: Robert Yang Date: Mon, 10 Nov 2014 03:37:41 +0000 (-0800) Subject: apr-native: Set CONFIG_SHELL to /bin/bash X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a1e6615b8ff3edc9ed2b16baf182673140ca3d2;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git apr-native: Set CONFIG_SHELL to /bin/bash The apr-native provides usr/share/build-1/libtool which is required by the recipe such as apache2-native. If we don't set the CONFIG_SHELL to /bin/bash, then: 1) If we build apr-native on a host which is "/bin/sh -> bash", the interpreter in usr/share/build-1/libtool would be "#!/bin/sh". 2) When we re-use apr-native's sstate on a host which is "/bin/sh -> dash", there would be errors. (From OE-Core rev: 38d83009dfe77437533969ce681605a9ab9534ac) Signed-off-by: Robert Yang Signed-off-by: Ross Burton Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- diff --git a/meta/recipes-support/apr/apr_1.5.1.bb b/meta/recipes-support/apr/apr_1.5.1.bb index 17dddbce7e2..49a08b02611 100644 --- a/meta/recipes-support/apr/apr_1.5.1.bb +++ b/meta/recipes-support/apr/apr_1.5.1.bb @@ -86,3 +86,5 @@ do_install_ptest() { cp ${S}/test/testall $t/ cp ${S}/test/tryread $t/ } + +export CONFIG_SHELL="/bin/bash"