diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-07-26 17:18:17 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-15 14:26:34 +0100 |
commit | 335fd22359eb9921bcf0abd2264c13c4378f06d2 (patch) | |
tree | 9625c89004fe4c5d40e8f8e5b370ec3850a14469 /meta/recipes-extended | |
parent | a26ab59eeef89cd57fa99b3f5827b519ed8c5c16 (diff) | |
download | poky-335fd22359eb9921bcf0abd2264c13c4378f06d2.tar.gz |
hdparm: cleanup update-alternatives deprecated code
(From OE-Core rev: 32e54fb0cdfdad5bab000aa5edd9eadb7459a9a4)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/hdparm/hdparm_9.39.bb | 5 |
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 \ | |||
8 | file://wiper/GPLv2.txt;md5=fcb02dc552a041dee27e4b85c7396067 \ | 8 | file://wiper/GPLv2.txt;md5=fcb02dc552a041dee27e4b85c7396067 \ |
9 | file://wiper/wiper.sh;beginline=7;endline=31;md5=b7bc642addc152ea307505bf1a296f09" | 9 | file://wiper/wiper.sh;beginline=7;endline=31;md5=b7bc642addc152ea307505bf1a296f09" |
10 | 10 | ||
11 | PR = "r2" | 11 | PR = "r3" |
12 | 12 | ||
13 | PACKAGES += "wiper" | 13 | PACKAGES += "wiper" |
14 | 14 | ||
@@ -25,7 +25,8 @@ EXTRA_OEMAKE += 'STRIP="echo"' | |||
25 | 25 | ||
26 | inherit update-alternatives | 26 | inherit update-alternatives |
27 | 27 | ||
28 | ALTERNATIVE_LINKS = "${base_sbindir}/hdparm" | 28 | ALTERNATIVE_${PN} = "hdparm" |
29 | ALTERNATIVE_LINK_NAME[hdparm] = "${base_sbindir}/hdparm" | ||
29 | ALTERNATIVE_PRIORITY = "100" | 30 | ALTERNATIVE_PRIORITY = "100" |
30 | 31 | ||
31 | do_install () { | 32 | do_install () { |