diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2012-04-12 21:43:44 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-04-13 16:04:11 +0100 |
commit | 0d7b9098175c6a703ae2e85530372522774a6724 (patch) | |
tree | f07e272981ab9a1ab4af3410c5a48147d36cde03 | |
parent | cc69136bf3f2e9eb4e23d92c7ff26c1647932df4 (diff) | |
download | poky-0d7b9098175c6a703ae2e85530372522774a6724.tar.gz |
eglibc: fix perl path in target scripts on fedora 17 alpha
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]
(From OE-Core rev: 7c95d554c431451f975e1e5d0336d1fb7d0ce7ae)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-core/eglibc/eglibc.inc | 2 | ||||
-rw-r--r-- | meta/recipes-core/eglibc/eglibc_2.13.bb | 2 | ||||
-rw-r--r-- | meta/recipes-core/eglibc/eglibc_2.15.bb | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc index 8e3fe503b8..66934477b6 100644 --- a/meta/recipes-core/eglibc/eglibc.inc +++ b/meta/recipes-core/eglibc/eglibc.inc | |||
@@ -54,3 +54,5 @@ do_configure_prepend() { | |||
54 | GLIBC_ADDONS ?= "ports,nptl,libidn" | 54 | GLIBC_ADDONS ?= "ports,nptl,libidn" |
55 | SDK_GLIBC_ADDONS ?= "ports,nptl,libidn" | 55 | SDK_GLIBC_ADDONS ?= "ports,nptl,libidn" |
56 | GLIBC_ADDONS_virtclass-nativesdk = "${SDK_GLIBC_ADDONS}" | 56 | GLIBC_ADDONS_virtclass-nativesdk = "${SDK_GLIBC_ADDONS}" |
57 | |||
58 | CACHED_CONFIGUREVARS = "ac_cv_path_PERL=${bindir}/perl" | ||
diff --git a/meta/recipes-core/eglibc/eglibc_2.13.bb b/meta/recipes-core/eglibc/eglibc_2.13.bb index 872767e85d..c1b6844934 100644 --- a/meta/recipes-core/eglibc/eglibc_2.13.bb +++ b/meta/recipes-core/eglibc/eglibc_2.13.bb | |||
@@ -3,7 +3,7 @@ require eglibc.inc | |||
3 | SRCREV = "15508" | 3 | SRCREV = "15508" |
4 | 4 | ||
5 | DEPENDS += "gperf-native" | 5 | DEPENDS += "gperf-native" |
6 | PR = "r23" | 6 | PR = "r24" |
7 | PR_append = "+svnr${SRCPV}" | 7 | PR_append = "+svnr${SRCPV}" |
8 | 8 | ||
9 | EGLIBC_BRANCH="eglibc-2_13" | 9 | EGLIBC_BRANCH="eglibc-2_13" |
diff --git a/meta/recipes-core/eglibc/eglibc_2.15.bb b/meta/recipes-core/eglibc/eglibc_2.15.bb index dd04378fb4..d52fe2de5a 100644 --- a/meta/recipes-core/eglibc/eglibc_2.15.bb +++ b/meta/recipes-core/eglibc/eglibc_2.15.bb | |||
@@ -3,7 +3,7 @@ require eglibc.inc | |||
3 | SRCREV = "17386" | 3 | SRCREV = "17386" |
4 | 4 | ||
5 | DEPENDS += "gperf-native" | 5 | DEPENDS += "gperf-native" |
6 | PR = "r3" | 6 | PR = "r4" |
7 | PR_append = "+svnr${SRCPV}" | 7 | PR_append = "+svnr${SRCPV}" |
8 | 8 | ||
9 | EGLIBC_BRANCH="eglibc-2_15" | 9 | EGLIBC_BRANCH="eglibc-2_15" |