Patchwork [1/3] hdparm: fix stripped file warning

login
register
mail settings
Submitter Paul Eggleton
Date March 21, 2012, 12:12 p.m.
Message ID <90194e665f87f08448ba1eb098d5a721f2858efa.1332331918.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/23971/
State Accepted
Commit d2625ddfdee752ed790aa6b9a8b8ceade8358093
Headers show

Comments

Paul Eggleton - March 21, 2012, 12:12 p.m.
Fix the following package warning:
WARNING: File '/sbin/hdparm.hdparm' from hdparm was already stripped, this will prevent future debugging!

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 meta/recipes-extended/hdparm/hdparm_9.39.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/recipes-extended/hdparm/hdparm_9.39.bb b/meta/recipes-extended/hdparm/hdparm_9.39.bb
index d8342cc..ed076cc 100644
--- a/meta/recipes-extended/hdparm/hdparm_9.39.bb
+++ b/meta/recipes-extended/hdparm/hdparm_9.39.bb
@@ -8,6 +8,8 @@  LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=910a8a42c962d238619c75fdb78bdb24 \
                     file://wiper/GPLv2.txt;md5=fcb02dc552a041dee27e4b85c7396067 \
                     file://wiper/wiper.sh;beginline=7;endline=31;md5=b7bc642addc152ea307505bf1a296f09"
 
+PR = "r1"
+
 PACKAGES += "wiper"
 
 FILES_wiper = "${bindir}/wiper.sh"
@@ -20,6 +22,8 @@  SRC_URI = "${SOURCEFORGE_MIRROR}/hdparm/hdparm-${PV}.tar.gz "
 SRC_URI[md5sum] = "2bc17b72403885d4faf959682944243b"
 SRC_URI[sha256sum] = "72d550af4526aa96f0841c79321a0ee39d636cbaf1f294e52193e90c054b3cea"
 
+EXTRA_OEMAKE += 'STRIP="echo"'
+
 do_install () {
 	install -d ${D}/${base_sbindir} ${D}/${mandir}/man8 ${D}/${bindir}
 	oe_runmake 'DESTDIR=${D}' 'sbindir=${base_sbindir}' install