]> code.ossystems Code Review - openembedded-core.git/commitdiff
pigz: cleanup update-alternatives deprecated code
authorSaul Wold <sgw@linux.intel.com>
Thu, 26 Jul 2012 23:54:30 +0000 (16:54 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 15 Aug 2012 13:18:40 +0000 (14:18 +0100)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-extended/pigz/pigz.inc
meta/recipes-extended/pigz/pigz_2.2.4.bb

index e1cbc8be804dbcc5b2240dcffea5f243f2459fbf..be37e8a317e6de626173968dd97e9b2175f20968 100644 (file)
@@ -27,6 +27,8 @@ do_install () {
        fi
 }
 
-ALTERNATIVE_LINKS = "${base_bindir}/gzip ${base_bindir}/gunzip"
+ALTERNARIVE_${PN} = "gzip gunzip"
+ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip"
+ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip"
 ALTERNATIVE_PRIORITY = "80"
 
index e76c49c4750e6875165b2f116acbbcd6811a944d..1cb9d089c2930212a66f9b1fdbac434388dddf76 100644 (file)
@@ -1,6 +1,6 @@
 require pigz.inc
 
-PR = "r2"
+PR = "r3"
 
 NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"