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 = "" From patchwork Fri Jun 21 09:55:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 167379 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp517166ilk; Fri, 21 Jun 2019 02:55:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxWKuLUvPowUlOrWxRMx7ig/aKvGgMq7eqoZV+mkhmlRMRIXn7dQW5TzGxlolUSxWd6hg6 X-Received: by 2002:a63:2258:: with SMTP id t24mr9170081pgm.236.1561110957639; Fri, 21 Jun 2019 02:55:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561110957; cv=none; d=google.com; s=arc-20160816; b=wFTKjD58qgUaYZn/kX4TNQeOLzeRPpa2BMAwRXbcQjeO6Qmd7396jhmMoZoCxb+ENG g9HTFpOku7YdU5V462+ylAGXywqkJTkaAlPKVO8qQODl20S6Po5S86f9ixftzGpg6+qO kEEUWsMQ7U5TCuPuAYhlAXzcfMq4oRQElsWGnhRDoimYzC6PkaRpywRm7PQ6zxuCQ3BN Tbux7ZqkcP3ddkhAq1qthJJLt3AWOKiC1BGvSe45MK5rxKWQ+rG8vtiDEzBKinuzCViF J/1HFnEiVbOy98q7XAheG702oQQ0S++EYEbZ2IhaFgXo0yk0t46f72bpXb4LvEA7h7Ry 5slg== 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:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=x02Vx1HH9fVuUtvTlHR1ADgM57Z4SRk07OKhKJ9ujJg=; b=UyZfKvkFYfSiPkw3UgLtJe0lfWI2bgAHo4+b/WHczt1fjLTdJZElifKK7NwctrSDRr gNHwL93HRO7kQjPPbNZglBaTQeoUC00+Wg40mk3rZvnyYrStDN7ESoTokhG+rmt9lKaz HIEi0P8LiLGrss/3PkRq7N9lDxhmFX1WAOx9Ke+AI6vUCFWTtZJXlLlEehovVFtjCTgV xFrbI3EDfPcfw/C/vylZDHN4M1+PJDgWLahTPNruRYr1R5exgy3hph05d31/f1ezv7YA 0HtQIcVEsaOkXOBKkOkugLL3HpIjYzViGX1ay34opbyVHekxuZwlSaRLPaNt0k68/Z6N wurA== 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=XRjg1cn9; 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 k18si2233941pfk.103.2019.06.21.02.55.57; Fri, 21 Jun 2019 02:55:57 -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=XRjg1cn9; 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 653147E7C3; Fri, 21 Jun 2019 09:55:54 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by mail.openembedded.org (Postfix) with ESMTP id 24E3E6011C for ; Fri, 21 Jun 2019 09:55:44 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id n9so5993627wru.0 for ; Fri, 21 Jun 2019 02:55:46 -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:in-reply-to:references; bh=Nh4XeykKhdOokdDe81FMfcf0no95jVibEn1Fy3GIEMk=; b=XRjg1cn9OjrvitpdkFxVXFVk8CTmqnE8N24RoTzuocR5HqPy6Lr+zc+hNrSqA8O+Jd h7tVm7O05O8aWERfroZosnKgcwWIYO77cSJEl7aEIBM3lyAtxMAdaaijfTNdBlpaS6aJ yT0BnhqDPzoX97qWNLJ7jnbBP362YYn19/vBeshh3S5SpZ112DGiJJkdMr3CcV7f8TvU rSb5WcgilHL4pi140Ox6S9NTSIBoIW9a9UN0iIJRGcMfsdJZwnd62gWBkAmHR9BR9PRg 05krO7X8By73BRFjhYIKOhhRJvQvPXM9o9BAuWloC0CkfaXX3Ecf9/BR/kKK/0APpHcq DgmQ== 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:in-reply-to :references; bh=Nh4XeykKhdOokdDe81FMfcf0no95jVibEn1Fy3GIEMk=; b=cfJs878v7l08vKhHuoQL3pgqsSMMJM9RstAr/H0OnAZ2tBLpKXO0fo2ohHSOg7S/oq FH0rb6IL7Ai2VzbFC7dl7mgaCddLN2abWqy0Y9DeNpC4R07ytIQcNzkyk4MCpzephw8Y TiXIpcHSV94oPFXv5EbvxI162e8jSl/028lIXnu0EGOQjGLeGaNTTrXYPpgaBz5SapN7 nZxK9nZ0ZTS5qmuOe4g4kOnJ59OBst7ve03NLUbI3kwO76flCaJ3ycHErECkA/7ADNS2 pUAohr2xo9GCsTRaqtTvTAxMNy4b3C6RXvN5HBjFPS2DxMegAZqAyVFUZ+Jo7QUCFThv pw7Q== X-Gm-Message-State: APjAAAUNMGfQSPI3IH8uC8au+UXRM95gI3n5UqnwHMfi87uQg7u8caWQ CA2DoyF1+Dc0CzGxYHtn2IAWNCwd6SY= X-Received: by 2002:a5d:628d:: with SMTP id k13mr13460683wru.317.1561110945639; Fri, 21 Jun 2019 02:55:45 -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.44 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Jun 2019 02:55:45 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Fri, 21 Jun 2019 10:55:41 +0100 Message-Id: <20190621095541.1198-2-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190621095541.1198-1-ross.burton@intel.com> References: <20190621095541.1198-1-ross.burton@intel.com> Subject: [OE-core] [PATCH 2/2] default-providers: use pigz as 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 is compatible with gzip but faster, prefer to use pigz. Signed-off-by: Ross Burton --- meta/conf/distro/include/default-providers.inc | 2 ++ 1 file changed, 2 insertions(+) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc index 2be3378773c..1dac58c9d50 100644 --- a/meta/conf/distro/include/default-providers.inc +++ b/meta/conf/distro/include/default-providers.inc @@ -54,6 +54,8 @@ PREFERRED_PROVIDER_nativesdk-openssl ?= "nativesdk-openssl" PREFERRED_PROVIDER_pkgconfig ?= "pkgconfig" PREFERRED_PROVIDER_nativesdk-pkgconfig ?= "nativesdk-pkgconfig" PREFERRED_PROVIDER_pkgconfig-native ?= "pkgconfig-native" + +PREFERRED_RPROVIDER_gzip ?= "pigz" PREFERRED_RPROVIDER_initd-functions ?= "initscripts" PREFERRED_PROVIDER_nativesdk-mesa ?= "nativesdk-mesa"