[OE-core] [PATCH] curl: Add certificates dependency to curl build.

Gordon Lack gordon.lack at dsl.pipex.com
Wed Apr 19 22:57:57 UTC 2017


The built curl is used during the builds, and any download using an https link (e.g. from github) requires the certificates, so these must be installed before curl is available.
This was breaking stb-kodi builds on openViX.
(Actually, absolute links get installed, so you also need to be using a build system with the relevant certs in place but this will be true, and anyway is a separate issue).

Signed-off-by: Gordon Lack <gordon.lack at dsl.pipex.com>
---
 meta/recipes-support/curl/curl_7.53.1.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-support/curl/curl_7.53.1.bb b/meta/recipes-support/curl/curl_7.53.1.bb
index bc78ffb..8fc9e87 100644
--- a/meta/recipes-support/curl/curl_7.53.1.bb
+++ b/meta/recipes-support/curl/curl_7.53.1.bb
@@ -9,6 +9,8 @@ SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
            file://0001-replace-krb5-config-with-pkg-config.patch \
 "
 
+DEPENDS = "ca-certificates" 
+
 # curl likes to set -g0 in CFLAGS, so we stop it
 # from mucking around with debug options
 #
-- 
2.7.4




More information about the Openembedded-core mailing list