]> code.ossystems Code Review - openembedded-core.git/commitdiff
eglibc: fix perl path in target scripts on fedora 17 alpha
authorNitin A Kamble <nitin.a.kamble@intel.com>
Fri, 13 Apr 2012 04:43:44 +0000 (21:43 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Apr 2012 15:00:04 +0000 (16:00 +0100)
fedora 17 has /usr/bin/perl as well as /bin/perl, which results in
 the perl path set in thetarget  perl scripts as /bin/perl
While we install perl on target at ${bindir}/perl i.e. /usr/bin/perl
Hence the target perl scripts are broken when build is done on fedora 17.
Work around the issue by providing cached value of perl path to eglibc

This fixes bug [YOCTO #2286]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/eglibc/eglibc.inc
meta/recipes-core/eglibc/eglibc_2.13.bb
meta/recipes-core/eglibc/eglibc_2.15.bb

index 8e3fe503b8d1c9bdff360634e38551690c96ef5d..66934477b6b6dcbb79e6d79e8b1a8e468fb82965 100644 (file)
@@ -54,3 +54,5 @@ do_configure_prepend() {
 GLIBC_ADDONS ?= "ports,nptl,libidn"
 SDK_GLIBC_ADDONS ?= "ports,nptl,libidn"
 GLIBC_ADDONS_virtclass-nativesdk = "${SDK_GLIBC_ADDONS}"
+
+CACHED_CONFIGUREVARS = "ac_cv_path_PERL=${bindir}/perl"
index 872767e85d775f522d87427de9a910b9800a6ef8..c1b68449342f52c1b96a42133d2b77be041ed340 100644 (file)
@@ -3,7 +3,7 @@ require eglibc.inc
 SRCREV = "15508"
 
 DEPENDS += "gperf-native"
-PR = "r23"
+PR = "r24"
 PR_append = "+svnr${SRCPV}"
 
 EGLIBC_BRANCH="eglibc-2_13"
index dd04378fb4caaff8bb752c59543cf3a79f6b05e0..d52fe2de5a493b4b47dad365313f9520b9d556d3 100644 (file)
@@ -3,7 +3,7 @@ require eglibc.inc
 SRCREV = "17386"
 
 DEPENDS += "gperf-native"
-PR = "r3"
+PR = "r4"
 PR_append = "+svnr${SRCPV}"
 
 EGLIBC_BRANCH="eglibc-2_15"