Patchwork [1/4] ltp: disable elf binary stripping

login
register
mail settings
Submitter Nitin A Kamble
Date Jan. 21, 2012, 6:25 a.m.
Message ID <ffc4c2baa9ed5116336b1d5c2d6110f7e4163c27.1327127051.git.nitin.a.kamble@intel.com>
Download mbox | patch
Permalink /patch/19921/
State New
Headers show

Comments

Nitin A Kamble - Jan. 21, 2012, 6:25 a.m.
From: Nitin A Kamble <nitin.a.kamble@intel.com>

Otherwise the ltp tests ldd01 & nm01 fail due to missing stripped
information.

This Fixes these bugs:
[YOCTO #1922]
[YOCTO #1923]

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 meta/recipes-extended/ltp/ltp_20110915.bb |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-extended/ltp/ltp_20110915.bb b/meta/recipes-extended/ltp/ltp_20110915.bb
index dabc0f0..fd0510e 100644
--- a/meta/recipes-extended/ltp/ltp_20110915.bb
+++ b/meta/recipes-extended/ltp/ltp_20110915.bb
@@ -3,7 +3,7 @@  DESCRIPTION = "The Linux Test Project is a joint project with SGI, IBM, OSDL, an
 HOMEPAGE = "http://ltp.sourceforge.net"
 SECTION = "console/utils"
 
-PR = "r0"
+PR = "r1"
 
 LICENSE = "GPLv2 & GPLv2+ & LGPLv2+ & LGPLv2.1+ & BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
@@ -66,3 +66,7 @@  do_install(){
 	# We will add expect for enhancement in future
 	find ${D} -type f -print | xargs grep "\!.*\/usr\/bin\/expect" | awk -F":" '{print $1}' | xargs rm -f
 }
+
+# Avoid geenrated binaries stripping. Otherwise some of the ltp tests such as ldd01 & nm fails
+INHIBIT_PACKAGE_STRIP = "1"
+