Skip to contentSkip to conversation

apr-native: Set CONFIG_SHELL to /bin/bash

PATCH New Robert Yang 1 participant 2 messages Nov 10, 2014

lore
Share & tools
lore
#0 lore raw

cover apr-native: Set CONFIG_SHELL to /bin/bash

The following changes since commit 33b7885ecdc8774e34ac3534ec49fed6ffdb3916:

oprofile: 0.9.9 -> 1.0.0 (2014-11-09 10:19:58 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/apr
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rtb/apr

Robert Yang (1):
apr-native: Set CONFIG_SHELL to /bin/bash

 meta/recipes-support/apr/apr_1.5.1.bb |    2 ++
 1 file changed, 2 insertions(+)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 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.

---
 meta/recipes-support/apr/apr_1.5.1.bb |    2 ++
 1 file changed, 2 insertions(+)
meta/recipes-support/apr/apr_1.5.1.bb +2 -0
index 17dddbc..49a08b0 100644
@@ -86,3 +86,5 @@ do_install_ptest() {
 	cp ${S}/test/testall $t/
 	cp ${S}/test/tryread $t/
 }
+
+export CONFIG_SHELL="/bin/bash"
Signature · 1 line
1.7.9.5