]> code.ossystems Code Review - openembedded-core.git/commitdiff
hdparm: fix stripped file warning
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 21 Mar 2012 12:12:40 +0000 (12:12 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Mar 2012 14:06:26 +0000 (14:06 +0000)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/hdparm/hdparm_9.39.bb

index d8342ccd4fa3133e7cb76680e412c98ce7bce71a..ed076cc29ef75ff8e8a8535959bb18a39b5bd9ae 100644 (file)
@@ -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