From patchwork Tue Jan 14 11:00:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Koen Kooi X-Patchwork-Id: 23179 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f197.google.com (mail-ie0-f197.google.com [209.85.223.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 79B5720DF3 for ; Tue, 14 Jan 2014 11:02:31 +0000 (UTC) Received: by mail-ie0-f197.google.com with SMTP id e14sf99160iej.0 for ; Tue, 14 Jan 2014 03:02:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:in-reply-to:references:cc:subject:precedence:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :mime-version:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list:content-type :content-transfer-encoding; bh=SNS2zvgUJconni/kkMuG845Zhap1NLUF3cqvxpPXSAQ=; b=D2EnQJcCpnYanyvwjy0Cl0zltF9FcuXJ2WOtGlYunyRpv3sW+YQDpTWxnRntpjzQX1 tY3MJzuL7+SFbf7WlzyQ103uQS3cMAeB4NNBQs8Zz9Omw2OLMBdIXLeKPbiUeFisaWWi C4V/g8BMvjXmdN04cpmwzacPBYqpnZHv9FbdqfTDmXB3IqtCQ31jrMIYYQiWUjpV3kIL E9SmcfLOqce8GO9kpAAk7ocUtI8tDIY0dCPHx1GG63in3KFS7dNFzMgsM9WqVKmz85+4 XW59S0Mp7U7PcYd/cQIE9zrl+LZpjm17IoQ2VR/w2BhFZ5JGfIHs+MDiI1ZRp+jIIrJi 3MEw== X-Gm-Message-State: ALoCoQklp2tcn/TwkUPuRvmmXo1NYYScEpJ4y+UfOKBFRmc0ePxbgkt+xGq9IFnt1Bx1Si7iuTaT X-Received: by 10.43.44.136 with SMTP id ug8mr10549354icb.17.1389697350738; Tue, 14 Jan 2014 03:02:30 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.132.231 with SMTP id ox7ls78085qeb.49.gmail; Tue, 14 Jan 2014 03:02:30 -0800 (PST) X-Received: by 10.52.165.143 with SMTP id yy15mr308905vdb.48.1389697350607; Tue, 14 Jan 2014 03:02:30 -0800 (PST) Received: from mail-vb0-f52.google.com (mail-vb0-f52.google.com [209.85.212.52]) by mx.google.com with ESMTPS id er6si70682vdc.114.2014.01.14.03.02.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Jan 2014 03:02:30 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.52 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.52; Received: by mail-vb0-f52.google.com with SMTP id p14so1120879vbm.25 for ; Tue, 14 Jan 2014 03:02:30 -0800 (PST) X-Received: by 10.58.219.1 with SMTP id pk1mr99895vec.49.1389697350508; Tue, 14 Jan 2014 03:02:30 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.59.13.131 with SMTP id ey3csp192197ved; Tue, 14 Jan 2014 03:02:29 -0800 (PST) X-Received: by 10.69.19.139 with SMTP id gu11mr895865pbd.85.1389697349594; Tue, 14 Jan 2014 03:02:29 -0800 (PST) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id sz7si166891pab.116.2014.01.14.03.02.28 for ; Tue, 14 Jan 2014 03:02:29 -0800 (PST) Received-SPF: pass (google.com: domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Received: from mail.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 801566E20D; Tue, 14 Jan 2014 11:02:26 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wg0-f47.google.com (mail-wg0-f47.google.com [74.125.82.47]) by mail.openembedded.org (Postfix) with ESMTP id 1E65F61FE4 for ; Tue, 14 Jan 2014 11:02:22 +0000 (UTC) Received: by mail-wg0-f47.google.com with SMTP id m15so216749wgh.2 for ; Tue, 14 Jan 2014 03:02:23 -0800 (PST) X-Received: by 10.180.36.51 with SMTP id n19mr2265912wij.48.1389697343135; Tue, 14 Jan 2014 03:02:23 -0800 (PST) Received: from localhost ([2001:610:612:0:5e51:4fff:fec8:7c15]) by mx.google.com with ESMTPSA id x4sm913900wif.0.2014.01.14.03.02.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Jan 2014 03:02:22 -0800 (PST) From: Koen Kooi To: openembedded-core@lists.openembedded.org Date: Tue, 14 Jan 2014 12:00:46 +0100 Message-Id: <1389697249-4062-2-git-send-email-koen.kooi@linaro.org> X-Mailer: git-send-email 1.8.4.2 In-Reply-To: <1389697249-4062-1-git-send-email-koen.kooi@linaro.org> References: <1389697249-4062-1-git-send-email-koen.kooi@linaro.org> Cc: Koen Kooi Subject: [OE-core] [PATCH 2/5] base bbclass: add support for lz4 compressed archives X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: 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 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: koen.kooi@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.52 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 Signed-off-by: Koen Kooi --- meta/classes/base.bbclass | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 2e5217b..81fc305 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -573,6 +573,11 @@ python () { elif "osc://" in srcuri: d.appendVarFlag('do_fetch', 'depends', ' osc-native:do_populate_sysroot') + # *.lz4 should depends on lz4-native for unpacking + # Not endswith because of "*.patch.lz4;patch=1". Need bb.fetch.decodeurl in future + if '.lz4' in srcuri: + d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot') + # *.xz should depends on xz-native for unpacking # Not endswith because of "*.patch.xz;patch=1". Need bb.fetch.decodeurl in future if '.xz' in srcuri: