From patchwork Tue Jan 3 22:59:30 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/2] prelink: also look at nonstandard lib paths Date: Tue, 03 Jan 2012 22:59:30 -0000 From: Nitin A Kamble X-Patchwork-Id: 18255 Message-Id: To: openembedded-core@lists.openembedded.org From: Nitin A Kamble Prelinking for x32 image showed that it was ignoring libraries located at locations like /usr/libx32. Like that mips n32 has library locations set as lib32 This commit modifies prelink.conf to look at libraries also located at libx32 & lib32 locations. Thanks to Mark Hatle for suggesting the fix. Signed-off-by: Nitin A Kamble --- meta/recipes-devtools/prelink/prelink/prelink.conf | 8 ++++---- meta/recipes-devtools/prelink/prelink_git.bb | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/meta/recipes-devtools/prelink/prelink/prelink.conf b/meta/recipes-devtools/prelink/prelink/prelink.conf index ed30c28..562f23c 100644 --- a/meta/recipes-devtools/prelink/prelink/prelink.conf +++ b/meta/recipes-devtools/prelink/prelink/prelink.conf @@ -12,7 +12,7 @@ -l /usr/bin -l /usr/X11R6/bin -l /usr/games --l /usr/local/lib{,64} --l /lib{,64} --l /usr/lib{,64} --l /usr/X11R6/lib{,64} +-l /usr/local/lib{,32,64,x32} +-l /lib{,32,64,x32} +-l /usr/lib{,32,64,x32} +-l /usr/X11R6/lib{,32,64,x32} diff --git a/meta/recipes-devtools/prelink/prelink_git.bb b/meta/recipes-devtools/prelink/prelink_git.bb index 31c22ef..17141e9 100644 --- a/meta/recipes-devtools/prelink/prelink_git.bb +++ b/meta/recipes-devtools/prelink/prelink_git.bb @@ -10,7 +10,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b" SRCREV = "bb1b660c5e3859b6c5a2ac8d739713e9989a4dd7" PV = "1.0+git${SRCPV}" -PR = "r7" +PR = "r8" # # The cron script attempts to re-prelink the system daily -- on