From patchwork Fri Jun 21 09:55:40 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 167378 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp517023ilk; Fri, 21 Jun 2019 02:55:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqw63twOtuLVFeTt8G4eXrdnK/NgZTr4XVM7B3dg4poq239xayxO81/ZRAwfA4DyoeQ57N3m X-Received: by 2002:a17:902:4c:: with SMTP id 70mr6617207pla.308.1561110949201; Fri, 21 Jun 2019 02:55:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561110949; cv=none; d=google.com; s=arc-20160816; b=BPb72XZ9pSQK7lsk8KKtjQ1IxaokkvENJQeoaUhoIlyP2bcaRk+Iyfpgm6fGUtcabv LaB05xeMCNq1jtqH3Ru65A8aCPhnb+ahZFAvVYJ05OantrfeamerLaLW6tz1yK6+ISl2 pcXnNCBtvNC9uj9uevmGBaIRBUvlrVlUf/0apjYTC+sNLzqLbdeIdwAve0I8aiBgqJ0A 6BicGoHg28Ni1vDG7vtnZQWjhtzja/cUcoQ+xB3J9/968nueLFDJjPfJ+KyJmkFodfXc Vk31MzTdYHZc2KksBVeZfHySoAT506oVWtoB+XETsEPORk32ze1pR8WpFMLdD4uBTSOm 6S3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to; bh=U8rGppMdO5UM+xrWICsJ/Zg2ht0yPKJ6dtLVUCw+G/Y=; b=oDbBIBIqjL7Vcu6icrvacvvRXsRP4eN9Yb0S3hxomROYw2Jf8wDbGZ0TT/YdTG2kfF 2cUxxBf7BPuNkvl5kDGz64roiR1n71B8X97E1VI/Jf88NtOqh2epJf9sTqFb31xfBbWU ipgokajF8KFJxc4d70QgBFajlmrHPy1XxRB+6iumXGkSKzOuHImgPOIZ6QqSg4DCRO+j 5zT7L/WrtO8iXyb5Hm+EcfHyAOnX/WeW5SHWT7uLL/NrCwPNda78WYUnxcGpS4yJ+68H FQia9OYwAH1UiVnW1zb/kWFK3XQM3JB5cXhNkIspmEnjm6iNlLM1MmTLaMl0i3gjOPR2 uqVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=fXjOl0uy; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id a32si2515644pje.7.2019.06.21.02.55.48; Fri, 21 Jun 2019 02:55:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=fXjOl0uy; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 4BF857E7BD; Fri, 21 Jun 2019 09:55:46 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f65.google.com (mail-wr1-f65.google.com [209.85.221.65]) by mail.openembedded.org (Postfix) with ESMTP id 49CBD6011C for ; Fri, 21 Jun 2019 09:55:44 +0000 (UTC) Received: by mail-wr1-f65.google.com with SMTP id p11so5928555wre.7 for ; Fri, 21 Jun 2019 02:55:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=VbsSaUSBTIGMhg2o04OrNOumVFH28C6wEetwvAMS3+I=; b=fXjOl0uyg3rZtjinqp2KSn5j8BUbAbdF6z4yRMpi9+m9o1Q8s7EqMifLbH22fgQof2 C0vq9DvqfxiwVrHELi0UXSk6R7e38hJ6UhwHJJr9fa0JwRahYYw0v+FWfOs9AZ/+zbWJ 87eUorr888T8l2BwBUgXyoXz/4CCidl35Pswnc2+W7XNEIYMX9FgxJ5Jmf32nBYVloYh o9g8dytEjM9aKFw9sq/4TtRLZ1XzAYG4E0udjt8BUheFJCpIIRZmwaFjZAEHwQKrCLZ5 cNoBPO0jIpjix6Ga1Oz17vQzSrcKlM6IOyagrWE8UPqiblO9kwOGL5D7Y4OMcb1ME4Fu 4QIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=VbsSaUSBTIGMhg2o04OrNOumVFH28C6wEetwvAMS3+I=; b=cR2mV6wrIAuwhOkwUPBIMMo9L6H2Vtkbnimvme1pCXH1B5lZcqjzeFXJBpfIGOM8Pi l/qlKCjmTzLKqYIdYEB/r6a0uiMRnbjQZxfXckphtG7xuw5JJTyJj4t/3cK4ZRcyiN0P PCqKRosI0DRZiWYtm6Cy3l+vcgaekhZ1RkLsb0dIwW4nq1BCWnNWeIHp2Yexcfueh4MQ hN/QwZHciAXp44NmJ9hiu7yFdc2Kvy3rLo11yx+tGvu6Mm4q9awKYMrtRtAhuWCmFM2W mY5GUyccr1/n4vD4FLKFzdmGEea5RnMxzoLHMrfbeW7J/ekzmY7UurGdU8kelfHeSL8q ArGw== X-Gm-Message-State: APjAAAWAnfItmvDKdvBELCOe9vyha4DGOGNZupZH9/BvPPC5puMVx440 rGghhSvgQs63fGL6vx7w54DHWq3Jd48= X-Received: by 2002:adf:ea88:: with SMTP id s8mr78611785wrm.68.1561110944702; Fri, 21 Jun 2019 02:55:44 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id d5sm2064912wrc.17.2019.06.21.02.55.43 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Jun 2019 02:55:43 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Fri, 21 Jun 2019 10:55:40 +0100 Message-Id: <20190621095541.1198-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH 1/2] pigz: provide gzip X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org As pigz has the same command line interface to gzip, it should PROVIDE/RPROVIDE gzip. Signed-off-by: Ross Burton --- meta/recipes-extended/pigz/pigz_2.4.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core 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.*)\.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 = ""