summaryrefslogtreecommitdiff
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-26 17:18:52 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:18:41 +0100
commitb69a6cea664e51b1a127767ecaea94b90b548d75 (patch)
treed28f15bb5c26c889596cc999dba589262eaa3787 /meta/recipes-extended
parent32e54fb0cdfdad5bab000aa5edd9eadb7459a9a4 (diff)
downloadopenembedded-core-b69a6cea664e51b1a127767ecaea94b90b548d75.tar.gz
openembedded-core-b69a6cea664e51b1a127767ecaea94b90b548d75.tar.bz2
openembedded-core-b69a6cea664e51b1a127767ecaea94b90b548d75.zip
gzip: 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/gzip/gzip_1.3.12.bb7
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 \
SRC_URI[md5sum] = "b5bac2d21840ae077e0217bc5e4845b1"
SRC_URI[sha256sum] = "3f565be05f7f3d1aff117c030eb7c738300510b7d098cedea796ca8e4cd587af"
-PR = "r1"
+PR = "r2"
inherit autotools
@@ -30,7 +30,10 @@ do_install_append () {
inherit update-alternatives
-ALTERNATIVE_LINKS = "${base_bindir}/gunzip ${base_bindir}/gzip ${base_bindir}/zcat"
+ALTERNATIVE_${PN} = "gzip gunzip zcat"
+ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip"
+ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip"
+ALTERNATIVE_LINK_NAME[zcat] = "${base_bindir}/zcat"
ALTERNATIVE_PRIORITY = "100"
BBCLASSEXTEND = "native"