eglibc: fix builds on fedora 17 alpha
authorNitin A Kamble <nitin.a.kamble@intel.com>
Sat, 14 Apr 2012 08:59:05 +0000 (01:59 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 14 Apr 2012 12:26:02 +0000 (13:26 +0100)
commit24dcfe8f2768882ac84e74db6230f85655c36b4a
tree19aa1a48cbf8c3d0d1a766f33ea611132cd5a01d
parent7b97cf118d5bb278c18fa9f830e89ef5c855872f
eglibc: fix builds on fedora 17 alpha

Generally distros keep perl at /sur/bin/perl
Fedora 17 alpha also has /bin/perl

this causes eglibc build on such distros to put perl interpreter path in
the perl scripts as /bin/perl

But we set perl location for target as /usr/bin/perl

This mismatch of perl path causes failure of rootfs image creation
like this:

| error: Failed dependencies:
|       /bin/perl is needed by eglibc-utils-2.13-r23+svnr15508.i586
NOTE: package core-image-sato-1.0-r0: task do_rootfs: Failed
ERROR: Task 8
(/home/nitin/prj/poky.git/meta/recipes-sato/images/core-image-sato.bb,
do_rootfs) failed with exit code '1'

This Fixes bug : [YOCTO #2286]

RP: Updated to better account for -nativesdk
(From OE-Core rev: 381bf0d364da5970682502f8f124264907587b87)

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-package.inc
meta/recipes-core/eglibc/eglibc_2.13.bb
meta/recipes-core/eglibc/eglibc_2.15.bb