[oe-commits] Robert Yang : apr-native: Set CONFIG_SHELL to /bin/bash

git at git.openembedded.org git at git.openembedded.org
Wed Nov 12 15:39:15 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 38d83009dfe77437533969ce681605a9ab9534ac
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=38d83009dfe77437533969ce681605a9ab9534ac

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Sun Nov  9 19:37:41 2014 -0800

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.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-support/apr/apr_1.5.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/apr/apr_1.5.1.bb b/meta/recipes-support/apr/apr_1.5.1.bb
index 17dddbc..49a08b0 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"



More information about the Openembedded-commits mailing list