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>
This commit is contained in:
Ross Burton
2019-06-21 10:09:54 +01:00
committed by Richard Purdie
parent 4b65e63681
commit bb2b83a6ac

View File

@@ -38,7 +38,7 @@ do_install_append_class-native() {
ln -nsf gzip ${D}${bindir}/zcat
}
ALTERNATIVE_PRIORITY = "80"
ALTERNATIVE_PRIORITY = "110"
ALTERNATIVE_${PN} = "gunzip gzip zcat"
ALTERNATIVE_${PN}_class-nativesdk = ""
ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip"