summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2012-07-26 16:54:30 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:26:32 +0100
commit9f64e1396d2f61e7c19241b42c7c9db8a575483c (patch)
tree3a413a26eab0fd2a7c10109c8b14971813a52747
parentcb4c91be2f673f90a0e5e6042b2ddf6a5897712d (diff)
downloadpoky-9f64e1396d2f61e7c19241b42c7c9db8a575483c.tar.gz
pigz: cleanup update-alternatives deprecated code
(From OE-Core rev: ec30a17ca617d9251404938da95ce578ff6402cf) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/pigz/pigz.inc4
-rw-r--r--meta/recipes-extended/pigz/pigz_2.2.4.bb2
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-extended/pigz/pigz.inc b/meta/recipes-extended/pigz/pigz.inc
index e1cbc8be80..be37e8a317 100644
--- a/meta/recipes-extended/pigz/pigz.inc
+++ b/meta/recipes-extended/pigz/pigz.inc
@@ -27,6 +27,8 @@ do_install () {
27 fi 27 fi
28} 28}
29 29
30ALTERNATIVE_LINKS = "${base_bindir}/gzip ${base_bindir}/gunzip" 30ALTERNARIVE_${PN} = "gzip gunzip"
31ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip"
32ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip"
31ALTERNATIVE_PRIORITY = "80" 33ALTERNATIVE_PRIORITY = "80"
32 34
diff --git a/meta/recipes-extended/pigz/pigz_2.2.4.bb b/meta/recipes-extended/pigz/pigz_2.2.4.bb
index e76c49c475..1cb9d089c2 100644
--- a/meta/recipes-extended/pigz/pigz_2.2.4.bb
+++ b/meta/recipes-extended/pigz/pigz_2.2.4.bb
@@ -1,6 +1,6 @@
1require pigz.inc 1require pigz.inc
2 2
3PR = "r2" 3PR = "r3"
4 4
5NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" 5NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}"
6 6