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 /meta/recipes-extended/pigz/pigz.inc | |
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>
Diffstat (limited to 'meta/recipes-extended/pigz/pigz.inc')
-rw-r--r-- | meta/recipes-extended/pigz/pigz.inc | 4 |
1 files changed, 3 insertions, 1 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" |