Patchwork libtool: Set CONFIG_SHELL for nativesdk

login
register
mail settings
Submitter Richard Purdie
Date Jan. 31, 2014, 10:24 a.m.
Message ID <1391163882.24655.264.camel@ted>
Download mbox | patch
Permalink /patch/66127/
State Accepted
Commit 964a590539d0f28da160fb1a94e8b417b6a9b9af
Headers show

Comments

Richard Purdie - Jan. 31, 2014, 10:24 a.m.
We're seeing similar failures that we saw from libtool-native and libtool-cross
where /bin/sh changed from bash to dash on different machines after sstate
reusage. This patch fixes nativesdk to avoid the same issue.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.2.bb b/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.2.bb
index 7b5c97a..fff15e9 100644
--- a/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.2.bb
+++ b/meta/recipes-devtools/libtool/nativesdk-libtool_2.4.2.bb
@@ -31,3 +31,5 @@  libtoolnativesdk_sysroot_preprocess () {
 	install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
 	install -m 755 ${D}${bindir}/${HOST_SYS}-libtool ${SYSROOT_DESTDIR}${bindir_crossscripts}/${HOST_SYS}-libtool
 }
+
+export CONFIG_SHELL="/bin/bash"