Skip to contentSkip to conversation

mpich: added BASH_SHELL to CACHED_CONFIGUREVARS

PATCH In review Victor Rodriguez 2 participants 2 messages May 10, 2015 – May 25, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mpich: added BASH_SHELL to CACHED_CONFIGUREVARS

On Fedora 17, bash has moved to /usr/bin/bash and the configure process finds it on the host machine there, this ensures that it is set correctly for the target.

---
 meta-oe/recipes-devtools/mpich/mpich_3.1.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/mpich/mpich_3.1.1.bb +2 -0
index 0225cee..eb6ceba 100644
@@ -12,6 +12,8 @@ SRC_URI = " \
 SRC_URI[md5sum] = "40dc408b1e03cc36d80209baaa2d32b7"
 SRC_URI[sha256sum] = "455ccfaf4ec724d2cf5d8bff1f3d26a958ad196121e7ea26504fd3018757652d"
 
+CACHED_CONFIGUREVARS += "BASH_SHELL=${base_bindir}/bash"
+
 RDEPENDS_${PN} += "bash perl libxml2"
 S = "${WORKDIR}/${PN}-${PV}"
 
Signature · 1 line
1.9.3
#1 lore raw
Quoted 25 lines · Victor Rodriguez

On Fedora 17, bash has moved to /usr/bin/bash and the configure process finds it on the host machine there, this ensures that it is set correctly for the target.

---
 meta-oe/recipes-devtools/mpich/mpich_3.1.1.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/mpich/mpich_3.1.1.bb +2 -1
index 0225cee..eb6ceba 100644
@@ -12,6 +12,8 @@ SRC_URI = " \
 SRC_URI[md5sum] = "40dc408b1e03cc36d80209baaa2d32b7"
 SRC_URI[sha256sum] = "455ccfaf4ec724d2cf5d8bff1f3d26a958ad196121e7ea26504fd3018757652d"
 
+CACHED_CONFIGUREVARS += "BASH_SHELL=${base_bindir}/bash"
+
 RDEPENDS_${PN} += "bash perl libxml2"
 S = "${WORKDIR}/${PN}-${PV}"
 
--

1.9.3

Quoted 5 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Hi team .. this patch is important otherwise we can not create an image with mpich in Fedora

If there is other way or is already fixed I am more than happy to know to apply that

Thanks and regards

Victor Rodriguez