[OE-core] [RFC][PATCH] curl: point CA bundle to /etc/ssl/certs/ca-certificates.crt instead of using the buildhost location

Koen Kooi koen.kooi at linaro.org
Wed Feb 5 13:56:34 UTC 2014


Configure would look at the buildhost and hardcode the bundle location for there into the target. This leads to non-working https support.

Signed-off-by: Koen Kooi <koen.kooi at linaro.org>
---

This is marked as RFC since:
 1) it needs to get tried on buildhosts where the bundle isn't located in /etc/ssl/certs
 2) package dependencies need to get sorted out (curl-ca-certs vs ca-certificates)
 


 meta/recipes-support/curl/curl_7.34.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-support/curl/curl_7.34.0.bb b/meta/recipes-support/curl/curl_7.34.0.bb
index b49c6e4..3f20bb1 100644
--- a/meta/recipes-support/curl/curl_7.34.0.bb
+++ b/meta/recipes-support/curl/curl_7.34.0.bb
@@ -30,6 +30,7 @@ EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \
                 --enable-crypto-auth \
                 --disable-ldap \
                 --disable-ldaps \
+                --with-ca-bundle=${sysconfdir}/ssl/certs/ca-certificates.crt \
                 ${CURLGNUTLS} \
                 "
 
-- 
1.8.4.2




More information about the Openembedded-core mailing list