]> code.ossystems Code Review - openembedded-core.git/commitdiff
pigz: bump alternative priority
authorRoss Burton <ross.burton@intel.com>
Fri, 21 Jun 2019 09:09:54 +0000 (10:09 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Jun 2019 14:31:50 +0000 (15:31 +0100)
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/pigz/pigz_2.4.bb

index 6d62ce6cc551131a907edeaa1550d188fe4f43d1..8c65ec34f065a70b8e6c420bfffae2657fe40823 100644 (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"