From patchwork Tue May 13 10:16:29 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Koen Kooi X-Patchwork-Id: 30026 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EF64520446 for ; Tue, 13 May 2014 10:16:44 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id m1sf566678oag.2 for ; Tue, 13 May 2014 03:16:44 -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=FSbJq0tdMS8bbz8eDtboyK0QmzPGaISygo8FoH9rHqY=; b=jiEpbr/Fj5FCqvd7nBlEImI6w7O8TiKEBvhzOjtsCfcF7JH3iL9V1cZqD+bOHmRSkl VRnMVfYkDAZdQSiFqtLwZ/BW1DhvZDThwy/tDA9nRbz9AUilRIaW8cpvKy/zJ9Szxrxs jkonNo7JrZ7kdJS02LS0BMLw5My6dSATB6xrzezw2mf/A3u/6Xmh89UNABnnAvlRKRH6 9GdUWfwtuIoi8xejjp6qCrmneigMbg9pO7SMGnbrG9f/jrced0uY2Poddhl/mPhS6Sdd lIoAJQUU7dvmArjZp/R1OsJkIhzuT4SgKlcr1WOPhpok9fJSTrFfUwfhv8B5v859Yztc KkeA== X-Gm-Message-State: ALoCoQnUb1mz0woTkWSYCZXXwKmJjvC57V0FK/9ho1tlfoX59uASd+JfK5uZG7gbUqPY8KdpX9/S X-Received: by 10.182.79.41 with SMTP id g9mr16802584obx.41.1399976204608; Tue, 13 May 2014 03:16:44 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.27.138 with SMTP id 10ls1277520qgx.9.gmail; Tue, 13 May 2014 03:16:44 -0700 (PDT) X-Received: by 10.58.74.38 with SMTP id q6mr27507262vev.7.1399976204529; Tue, 13 May 2014 03:16:44 -0700 (PDT) Received: from mail-ve0-f175.google.com (mail-ve0-f175.google.com [209.85.128.175]) by mx.google.com with ESMTPS id y10si2563635vei.150.2014.05.13.03.16.44 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 May 2014 03:16:44 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.175 as permitted sender) client-ip=209.85.128.175; Received: by mail-ve0-f175.google.com with SMTP id jw12so141258veb.6 for ; Tue, 13 May 2014 03:16:44 -0700 (PDT) X-Received: by 10.220.92.193 with SMTP id s1mr845195vcm.34.1399976204450; Tue, 13 May 2014 03:16:44 -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 ib8csp138897vcb; Tue, 13 May 2014 03:16:44 -0700 (PDT) X-Received: by 10.68.162.34 with SMTP id xx2mr4109301pbb.120.1399976203666; Tue, 13 May 2014 03:16:43 -0700 (PDT) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id nf8si7726013pbc.482.2014.05.13.03.16.42 for ; Tue, 13 May 2014 03:16:43 -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 DD5E566070; Tue, 13 May 2014 10:16:33 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-we0-f182.google.com (unknown [74.125.82.182]) by mail.openembedded.org (Postfix) with ESMTP id C8B19605B2 for ; Tue, 13 May 2014 10:16:31 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id t60so130422wes.41 for ; Tue, 13 May 2014 03:16:32 -0700 (PDT) X-Received: by 10.194.120.101 with SMTP id lb5mr944923wjb.74.1399976191929; Tue, 13 May 2014 03:16:31 -0700 (PDT) Received: from localhost ([2001:610:612:0:5e51:4fff:fec8:7c15]) by mx.google.com with ESMTPSA id ej2sm21624518wjd.21.2014.05.13.03.16.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 May 2014 03:16:31 -0700 (PDT) From: Koen Kooi To: openembedded-core@lists.openembedded.org Date: Tue, 13 May 2014 12:16:29 +0200 Message-Id: <1399976189-1863-1-git-send-email-koen.kooi@linaro.org> X-Mailer: git-send-email 1.9.0 Cc: Koen Kooi Subject: [OE-core] [PATCH] ca-certificates: generate CAfile for -native in do_install 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.128.175 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 Git-replacement-native needs the generated files in place for https:// URIs: WARNING: Failed to fetch URL git://github.com/kernelslacker/trinity.git;protocol=https, attempting MIRRORS if available ERROR: Fetcher failure: Fetch command failed with exit code 128, output: Cloning into bare repository '/build/linaro/build/build/downloads/git2/github.com.kernelslacker.trinity.git'... fatal: unable to access 'https://github.com/kernelslacker/trinity.git/': error setting certificate verify locations: CAfile: /build/linaro/build/build/tmp-eglibc/sysroots/x86_64-linux/etc/ssl/certs/ca-certificates.crt CApath: none ERROR: Function failed: Fetcher failure for URL: 'git://github.com/kernelslacker/trinity.git;protocol=https'. Unable to fetch URL from any source. ERROR: Logfile of failure stored in: /build/linaro/build/build/tmp-eglibc/work/aarch64-oe-linux/trinity/1.3-r0/temp/log.do_fetch.7843 ERROR: Task 1378 (/build/linaro/build/meta-linaro/meta-linaro/recipes-extra/trinity/trinity_1.3.bb, do_fetch) failed with exit code '1' Signed-off-by: Koen Kooi --- meta/recipes-support/ca-certificates/ca-certificates_20130610.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-support/ca-certificates/ca-certificates_20130610.bb b/meta/recipes-support/ca-certificates/ca-certificates_20130610.bb index 2dd3742..c9ef07b 100644 --- a/meta/recipes-support/ca-certificates/ca-certificates_20130610.bb +++ b/meta/recipes-support/ca-certificates/ca-certificates_20130610.bb @@ -67,4 +67,8 @@ do_install_append_class-nativesdk () { SYSROOT="${D}${SDKPATHNATIVE}" update-ca-certificates } +do_install_append_class-native () { + SYSROOT="${D}${base_prefix}" ${D}${sbindir}/update-ca-certificates +} + BBCLASSEXTEND += "native nativesdk"