Skip to contentSkip to conversation

ca-certificates: Fix openssl runtime dependencies

PATCH New Andrei Gherzan 1 participant 1 message May 30, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 ca-certificates: Fix openssl runtime dependencies

Since yocto thud, and more specifically since poky switched to openssl 1.1 line, the openssl binary is provided by 'openssl-bin'. This impacts the native and nativesdk recipe variants as well.

---
 .../ca-certificates/ca-certificates_20190110.bb               | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-support/ca-certificates/ca-certificates_20190110.bb +3 -1
index 4c0425302f..efd9eaa71e 100644
@@ -82,6 +82,8 @@ do_install_append_class-native () {
     SYSROOT="${D}${base_prefix}" ${D}${sbindir}/update-ca-certificates
 }
 
-RDEPENDS_${PN} += "openssl"
+RDEPENDS_${PN}_class-target = "openssl-bin"
+RDEPENDS_${PN}_class-native = "openssl-native"
+RDEPENDS_${PN}_class-nativesdk = "nativesdk-openssl-bin"
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.17.1