summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKoen Kooi <koen.kooi@linaro.org>2014-05-13 12:16:29 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-05-29 13:42:24 +0100
commit412cb58083092815a45f1f349f378d34db31b46d (patch)
tree150b79116fe6b1411464b04f78469245754aa3de
parent57ccbc4c15895945ca00c89ff0875cb4e7a6a1a9 (diff)
downloadpoky-412cb58083092815a45f1f349f378d34db31b46d.tar.gz
ca-certificates: generate CAfile for -native in do_install
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' (From OE-Core rev: 74a772727cbf4d76d2ef314041acafb3086e4ff9) (From OE-Core rev: 90c97c32d982ede16297c2cd5a5fb9d6794f5401) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/ca-certificates/ca-certificates_20130610.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-support/ca-certificates/ca-certificates_20130610.bb b/meta/recipes-support/ca-certificates/ca-certificates_20130610.bb
index 2dd3742282..c9ef07bfb7 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 () {
67 SYSROOT="${D}${SDKPATHNATIVE}" update-ca-certificates 67 SYSROOT="${D}${SDKPATHNATIVE}" update-ca-certificates
68} 68}
69 69
70do_install_append_class-native () {
71 SYSROOT="${D}${base_prefix}" ${D}${sbindir}/update-ca-certificates
72}
73
70BBCLASSEXTEND += "native nativesdk" 74BBCLASSEXTEND += "native nativesdk"