summaryrefslogtreecommitdiff
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-26 17:18:17 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:18:41 +0100
commit32e54fb0cdfdad5bab000aa5edd9eadb7459a9a4 (patch)
treecd0106977807cc0652a215906db19bc3e5a2a1d5 /meta/recipes-extended
parenteb541c4eac5f87be6bf30f32096bc1adacb883af (diff)
downloadopenembedded-core-32e54fb0cdfdad5bab000aa5edd9eadb7459a9a4.tar.gz
openembedded-core-32e54fb0cdfdad5bab000aa5edd9eadb7459a9a4.tar.bz2
openembedded-core-32e54fb0cdfdad5bab000aa5edd9eadb7459a9a4.zip
hdparm: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/hdparm/hdparm_9.39.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-extended/hdparm/hdparm_9.39.bb b/meta/recipes-extended/hdparm/hdparm_9.39.bb
index 40ebd351ed..1dfc57fd56 100644
--- a/meta/recipes-extended/hdparm/hdparm_9.39.bb
+++ b/meta/recipes-extended/hdparm/hdparm_9.39.bb
@@ -8,7 +8,7 @@ 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 = "r2"
+PR = "r3"
PACKAGES += "wiper"
@@ -25,7 +25,8 @@ EXTRA_OEMAKE += 'STRIP="echo"'
inherit update-alternatives
-ALTERNATIVE_LINKS = "${base_sbindir}/hdparm"
+ALTERNATIVE_${PN} = "hdparm"
+ALTERNATIVE_LINK_NAME[hdparm] = "${base_sbindir}/hdparm"
ALTERNATIVE_PRIORITY = "100"
do_install () {