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:18:40 +0100 |
commit | ec30a17ca617d9251404938da95ce578ff6402cf (patch) | |
tree | 0ebaacad78c86cb6738b552e3e7e7be6767c02ca | |
parent | d0c82d1f45ff7a0a25bcee1b7676b70c29b580b6 (diff) | |
download | openembedded-core-ec30a17ca617d9251404938da95ce578ff6402cf.tar.gz openembedded-core-ec30a17ca617d9251404938da95ce578ff6402cf.tar.bz2 openembedded-core-ec30a17ca617d9251404938da95ce578ff6402cf.zip |
pigz: cleanup update-alternatives deprecated code
Signed-off-by: Saul Wold <sgw@linux.intel.com>
-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 () { 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" 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 @@ require pigz.inc -PR = "r2" +PR = "r3" NATIVE_PACKAGE_PATH_SUFFIX = "/${PN}" |