diff options
author | Ross Burton <ross.burton@intel.com> | 2019-06-21 10:09:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-21 15:32:36 +0100 |
commit | bb2b83a6ac0c81780b688db9e737397b88517005 (patch) | |
tree | a3ddbc5834d1951b14af6341977b4613871bb488 /meta/recipes-extended | |
parent | 4b65e63681250c0a94f74f0e37669b944bb42383 (diff) | |
download | poky-bb2b83a6ac0c81780b688db9e737397b88517005.tar.gz |
pigz: bump alternative priority
As pigz is compatible with gzip, but better performing, if it is installed it
should be used by default. Currently gzip has priority of 100 but pigz has
priority of 80, so gzip is still used by default.
Change the pigz priority to 110 so that it wins of gzip.
(From OE-Core rev: 808792122751714de3ba25e463fd8b2709581cfc)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/pigz/pigz_2.4.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-extended/pigz/pigz_2.4.bb b/meta/recipes-extended/pigz/pigz_2.4.bb index 6d62ce6cc5..8c65ec34f0 100644 --- a/meta/recipes-extended/pigz/pigz_2.4.bb +++ b/meta/recipes-extended/pigz/pigz_2.4.bb | |||
@@ -38,7 +38,7 @@ do_install_append_class-native() { | |||
38 | ln -nsf gzip ${D}${bindir}/zcat | 38 | ln -nsf gzip ${D}${bindir}/zcat |
39 | } | 39 | } |
40 | 40 | ||
41 | ALTERNATIVE_PRIORITY = "80" | 41 | ALTERNATIVE_PRIORITY = "110" |
42 | ALTERNATIVE_${PN} = "gunzip gzip zcat" | 42 | ALTERNATIVE_${PN} = "gunzip gzip zcat" |
43 | ALTERNATIVE_${PN}_class-nativesdk = "" | 43 | ALTERNATIVE_${PN}_class-nativesdk = "" |
44 | ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip" | 44 | ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip" |