diff mbox series

pigz: bump alternative priority

Message ID 20190621090954.2313-1-ross.burton@intel.com
State Accepted
Commit 808792122751714de3ba25e463fd8b2709581cfc
Headers show
Series pigz: bump alternative priority | expand

Commit Message

Ross Burton June 21, 2019, 9:09 a.m. UTC
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>

---
 meta/recipes-extended/pigz/pigz_2.4.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.11.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/recipes-extended/pigz/pigz_2.4.bb b/meta/recipes-extended/pigz/pigz_2.4.bb
index 6d62ce6cc55..8c65ec34f06 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() {
 	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"