Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] apr-native: Set CONFIG_SHELL to /bin/bash
@ 2014-11-10  3:37 Robert Yang
  2014-11-10  3:37 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2014-11-10  3:37 UTC (permalink / raw)
  To: openembedded-core

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(+)

-- 
1.7.9.5



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] apr-native: Set CONFIG_SHELL to /bin/bash
  2014-11-10  3:37 [PATCH 0/1] apr-native: Set CONFIG_SHELL to /bin/bash Robert Yang
@ 2014-11-10  3:37 ` Robert Yang
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Yang @ 2014-11-10  3:37 UTC (permalink / raw)
  To: openembedded-core

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@windriver.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"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-10  3:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-10  3:37 [PATCH 0/1] apr-native: Set CONFIG_SHELL to /bin/bash Robert Yang
2014-11-10  3:37 ` [PATCH 1/1] " Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox