Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] pigz: provide gzip
@ 2019-06-21  9:55 Ross Burton
  2019-06-21  9:55 ` [PATCH 2/2] default-providers: use pigz as gzip Ross Burton
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ross Burton @ 2019-06-21  9:55 UTC (permalink / raw)
  To: openembedded-core

As pigz has the same command line interface to gzip, it should PROVIDE/RPROVIDE
gzip.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-extended/pigz/pigz_2.4.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-extended/pigz/pigz_2.4.bb b/meta/recipes-extended/pigz/pigz_2.4.bb
index 8c65ec34f06..a173268eaa8 100644
--- a/meta/recipes-extended/pigz/pigz_2.4.bb
+++ b/meta/recipes-extended/pigz/pigz_2.4.bb
@@ -11,12 +11,12 @@ LIC_FILES_CHKSUM = "file://pigz.c;md5=9ae6dee8ceba9610596ed0ada493d142;beginline
 SRC_URI = "http://zlib.net/${BPN}/fossils/${BP}.tar.gz"
 SRC_URI[md5sum] = "def2f6e19d9d8231445adc1349d346df"
 SRC_URI[sha256sum] = "a4f816222a7b4269bd232680590b579ccc72591f1bb5adafcd7208ca77e14f73"
-PROVIDES_class-native += "gzip-native"
 
 # Point this at the homepage in case /fossils/ isn't updated
 UPSTREAM_CHECK_URI = "http://zlib.net/${BPN}/"
 UPSTREAM_CHECK_REGEX = "pigz-(?P<pver>.*)\.tar"
 
+PROVIDES = "gzip"
 DEPENDS = "zlib"
 
 EXTRA_OEMAKE = "-e MAKEFLAGS="
@@ -38,6 +38,8 @@ do_install_append_class-native() {
 	ln -nsf gzip ${D}${bindir}/zcat
 }
 
+RPROVIDES_${PN} = "gzip"
+
 ALTERNATIVE_PRIORITY = "110"
 ALTERNATIVE_${PN} = "gunzip gzip zcat"
 ALTERNATIVE_${PN}_class-nativesdk = ""
-- 
2.11.0



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-22  6:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-21  9:55 [PATCH 1/2] pigz: provide gzip Ross Burton
2019-06-21  9:55 ` [PATCH 2/2] default-providers: use pigz as gzip Ross Burton
2019-06-21 10:00 ` ✗ patchtest: failure for "pigz: provide gzip..." and 1 more Patchwork
2019-06-22  6:20 ` [PATCH 1/2] pigz: provide gzip Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox