summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/openssl')
-rw-r--r--meta/recipes-connectivity/openssl/openssl.inc13
1 files changed, 1 insertions, 12 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index c721d8c570..8f2a797b89 100644
--- a/meta/recipes-connectivity/openssl/openssl.inc
+++ b/meta/recipes-connectivity/openssl/openssl.inc
@@ -201,6 +201,7 @@ do_install () {
201 ${D}${sysconfdir}/ssl/ 201 ${D}${sysconfdir}/ssl/
202 ln -sf ${sysconfdir}/ssl/certs ${D}${libdir}/ssl/certs 202 ln -sf ${sysconfdir}/ssl/certs ${D}${libdir}/ssl/certs
203 ln -sf ${sysconfdir}/ssl/private ${D}${libdir}/ssl/private 203 ln -sf ${sysconfdir}/ssl/private ${D}${libdir}/ssl/private
204 ln -sf ${sysconfdir}/ssl/openssl.cnf ${D}${libdir}/ssl/openssl.cnf
204} 205}
205 206
206do_install_ptest () { 207do_install_ptest () {
@@ -248,16 +249,4 @@ do_install_append_class-native() {
248 OPENSSL_ENGINES=${libdir}/ssl/engines 249 OPENSSL_ENGINES=${libdir}/ssl/engines
249} 250}
250 251
251pkg_postinst_openssl-conf () {
252#!/bin/sh
253if [ -e $D${libdir}/ssl/openssl.cnf ]; then
254 rm -f $D${libdir}/ssl/openssl.cnf
255fi
256
257# If openssl-conf is installed before openssl, we must ensure that the symlink
258# destination exists
259mkdir -p $D${libdir}/ssl/
260ln -s ${sysconfdir}/ssl/openssl.cnf $D${libdir}/ssl/openssl.cnf
261}
262
263BBCLASSEXTEND = "native nativesdk" 252BBCLASSEXTEND = "native nativesdk"