summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-03-21 12:12:40 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-21 14:06:26 +0000
commitd2625ddfdee752ed790aa6b9a8b8ceade8358093 (patch)
tree809942a1668ed7f8ff50060bb8f00e83991d2699
parent486c0abeaaf9e4467d3f72a24cc6956595c955f3 (diff)
downloadopenembedded-core-d2625ddfdee752ed790aa6b9a8b8ceade8358093.tar.gz
openembedded-core-d2625ddfdee752ed790aa6b9a8b8ceade8358093.tar.bz2
openembedded-core-d2625ddfdee752ed790aa6b9a8b8ceade8358093.zip
hdparm: fix stripped file warning
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>
-rw-r--r--meta/recipes-extended/hdparm/hdparm_9.39.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/hdparm/hdparm_9.39.bb b/meta/recipes-extended/hdparm/hdparm_9.39.bb
index d8342ccd4f..ed076cc29e 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