diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-07-26 17:18:52 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-15 14:26:35 +0100 |
commit | 38cab7c5f1a101eb601246957643c4c093de9054 (patch) | |
tree | dced4728e6ccbc8c8f9b7f207d716f44aae4a56a | |
parent | 335fd22359eb9921bcf0abd2264c13c4378f06d2 (diff) | |
download | poky-38cab7c5f1a101eb601246957643c4c093de9054.tar.gz |
gzip: cleanup update-alternatives deprecated code
(From OE-Core rev: b69a6cea664e51b1a127767ecaea94b90b548d75)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/gzip/gzip_1.3.12.bb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-extended/gzip/gzip_1.3.12.bb b/meta/recipes-extended/gzip/gzip_1.3.12.bb index 6d18d47cb8..7a04b87c59 100644 --- a/meta/recipes-extended/gzip/gzip_1.3.12.bb +++ b/meta/recipes-extended/gzip/gzip_1.3.12.bb | |||
@@ -16,7 +16,7 @@ SRC_URI = "${GNU_MIRROR}/gzip/gzip-${PV}.tar.gz \ | |||
16 | SRC_URI[md5sum] = "b5bac2d21840ae077e0217bc5e4845b1" | 16 | SRC_URI[md5sum] = "b5bac2d21840ae077e0217bc5e4845b1" |
17 | SRC_URI[sha256sum] = "3f565be05f7f3d1aff117c030eb7c738300510b7d098cedea796ca8e4cd587af" | 17 | SRC_URI[sha256sum] = "3f565be05f7f3d1aff117c030eb7c738300510b7d098cedea796ca8e4cd587af" |
18 | 18 | ||
19 | PR = "r1" | 19 | PR = "r2" |
20 | 20 | ||
21 | inherit autotools | 21 | inherit autotools |
22 | 22 | ||
@@ -30,7 +30,10 @@ do_install_append () { | |||
30 | 30 | ||
31 | inherit update-alternatives | 31 | inherit update-alternatives |
32 | 32 | ||
33 | ALTERNATIVE_LINKS = "${base_bindir}/gunzip ${base_bindir}/gzip ${base_bindir}/zcat" | 33 | ALTERNATIVE_${PN} = "gzip gunzip zcat" |
34 | ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip" | ||
35 | ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip" | ||
36 | ALTERNATIVE_LINK_NAME[zcat] = "${base_bindir}/zcat" | ||
34 | ALTERNATIVE_PRIORITY = "100" | 37 | ALTERNATIVE_PRIORITY = "100" |
35 | 38 | ||
36 | BBCLASSEXTEND = "native" | 39 | BBCLASSEXTEND = "native" |