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 <[email protected]> --- 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 \ -- 1.9.0 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
