diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-07-26 16:54:30 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-15 14:26:32 +0100 |
commit | 9f64e1396d2f61e7c19241b42c7c9db8a575483c (patch) | |
tree | 3a413a26eab0fd2a7c10109c8b14971813a52747 | |
parent | cb4c91be2f673f90a0e5e6042b2ddf6a5897712d (diff) | |
download | poky-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.inc | 4 | ||||
-rw-r--r-- | meta/recipes-extended/pigz/pigz_2.2.4.bb | 2 |
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 | ||
30 | ALTERNATIVE_LINKS = "${base_bindir}/gzip ${base_bindir}/gunzip" | 30 | ALTERNARIVE_${PN} = "gzip gunzip" |
31 | ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip" | ||
32 | ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip" | ||
31 | ALTERNATIVE_PRIORITY = "80" | 33 | ALTERNATIVE_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 @@ | |||
1 | require pigz.inc | 1 | require pigz.inc |
2 | 2 | ||
3 | PR = "r2" | 3 | PR = "r3" |
4 | 4 | ||
5 | NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" | 5 | NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" |
6 | 6 | ||