From patchwork Tue May 13 07:30:41 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Koen Kooi X-Patchwork-Id: 30004 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yh0-f70.google.com (mail-yh0-f70.google.com [209.85.213.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 77AD220369 for ; Tue, 13 May 2014 07:38:02 +0000 (UTC) Received: by mail-yh0-f70.google.com with SMTP id z6sf30373178yhz.1 for ; Tue, 13 May 2014 00:38:02 -0700 (PDT) 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: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=qotVhxYHh9kFh6CcOUWIySfjcE6jxzmW+hO4O2IfyAE=; b=c1KVjrzKIR7K6IrKVet6lahX9HsO7l6ezUs3r7iku41r0KfHCnT9VE7Jq7cMfTdO32 5QXcNjQzda7BvvXWMEaX1dF8jit91rVqRnTLBttO4j/XrnzB1dQUkA+gM+hBt5sDdW4E JfAhX9z8h7sK77lygeT2VPNuuQfIV2fLJ1A/BtCn6SjZGKZnj/IBFV5N168b4DCU/2oB FMDXrBUthEeSWT4NQtDEZ7CvckjJe2dm/nW8yhMcqYstni+RD/0gZsd0BlGR7TKDF7/1 ne1aWVMtxJDGWJmBeKJGbXkrJxN8nzGU25fhxEmiPJPoyQ0G+Q1AJbLYN1EcsIKuu7Zy 8o+A== X-Gm-Message-State: ALoCoQl4yJDa59yUWXTtdOs06vkkH0RB2Tpbte07NtoeWXy0Bb5REXSa/PkQQAEkkmTvH02hUAlC X-Received: by 10.236.159.39 with SMTP id r27mr15658052yhk.7.1399966682302; Tue, 13 May 2014 00:38:02 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.102.87 with SMTP id v81ls1687840qge.0.gmail; Tue, 13 May 2014 00:38:02 -0700 (PDT) X-Received: by 10.220.159.4 with SMTP id h4mr28016664vcx.1.1399966682196; Tue, 13 May 2014 00:38:02 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id gu9si2494810vdc.178.2014.05.13.00.38.02 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 May 2014 00:38:02 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) client-ip=209.85.220.178; Received: by mail-vc0-f178.google.com with SMTP id hq16so7295108vcb.23 for ; Tue, 13 May 2014 00:38:02 -0700 (PDT) X-Received: by 10.220.190.197 with SMTP id dj5mr27378671vcb.19.1399966682059; Tue, 13 May 2014 00:38:02 -0700 (PDT) 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.220.221.72 with SMTP id ib8csp129948vcb; Tue, 13 May 2014 00:38:01 -0700 (PDT) X-Received: by 10.69.17.230 with SMTP id gh6mr3369867pbd.0.1399966681338; Tue, 13 May 2014 00:38:01 -0700 (PDT) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id hh2si12413846pac.43.2014.05.13.00.38.00 for ; Tue, 13 May 2014 00:38:01 -0700 (PDT) Received-SPF: none (google.com: openembedded-core-bounces@lists.openembedded.org does not designate permitted sender hosts) client-ip=140.211.169.62; Received: from mail.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id C8CA465F69; Tue, 13 May 2014 07:37:56 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-we0-f181.google.com (unknown [74.125.82.181]) by mail.openembedded.org (Postfix) with ESMTP id B1E61605B2 for ; Tue, 13 May 2014 07:37:53 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id w61so8033632wes.12 for ; Tue, 13 May 2014 00:37:54 -0700 (PDT) X-Received: by 10.194.222.197 with SMTP id qo5mr116459wjc.78.1399966249309; Tue, 13 May 2014 00:30:49 -0700 (PDT) Received: from localhost ([2001:610:612:0:5e51:4fff:fec8:7c15]) by mx.google.com with ESMTPSA id be3sm21088074wjc.5.2014.05.13.00.30.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 May 2014 00:30:48 -0700 (PDT) From: Koen Kooi To: openembedded-core@lists.openembedded.org Date: Tue, 13 May 2014 09:30:41 +0200 Message-Id: <1399966241-25745-1-git-send-email-koen.kooi@linaro.org> X-Mailer: git-send-email 1.9.0 Cc: Koen Kooi Subject: [OE-core] [RFC][PATCH] curl: work around RRECOMMENDS problems in -native* recipes 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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.178 as permitted sender) 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 Both curl-native and git-(replacement-)native need ca-certs installed to support https:// but since PACKAGES is reset to "" R* variables don't work and ca-certs don't end up in sysroot. Adding it to DEPENDS works around this. Signed-off-by: Koen Kooi --- meta/recipes-support/curl/curl_7.36.0.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/recipes-support/curl/curl_7.36.0.bb b/meta/recipes-support/curl/curl_7.36.0.bb index f3401fa..affc2e1 100644 --- a/meta/recipes-support/curl/curl_7.36.0.bb +++ b/meta/recipes-support/curl/curl_7.36.0.bb @@ -6,8 +6,11 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;beginline=7;md5=3a34942f4ae3fbf1a303160714e664ac" DEPENDS = "zlib gnutls" -DEPENDS_class-native = "zlib-native openssl-native" -DEPENDS_class-nativesdk = "nativesdk-zlib" + +# RDEPENDS/RRECOMMENDS don't work for -native, so add ca-certs to DEPENDS to install +# them into sysroot to make https:// work for curl and git +DEPENDS_class-native = "zlib-native openssl-native ca-certificates-native" +DEPENDS_class-nativesdk = "nativesdk-zlib ca-certificates-nativesdk" SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \ file://pkgconfig_fix.patch \