[OE-core] [RFC][PATCH] curl: work around RRECOMMENDS problems in -native* recipes
Koen Kooi
koen.kooi at linaro.org
Tue May 13 07:30:41 UTC 2014
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 <koen.kooi at linaro.org>
---
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
More information about the Openembedded-core
mailing list