summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorAndré Draszik <adraszik@digisoft.tv>2014-10-13 12:09:09 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-07 23:33:05 +0000
commit771d3123331fbfab1eb9ce47e3013eabcb2248f5 (patch)
treec7f1ecf5a7fe19fabb19710bf65829044c55cc73 /meta
parentb53e46bece1c4976ba146d9abf41a8a54c584300 (diff)
downloadopenembedded-core-771d3123331fbfab1eb9ce47e3013eabcb2248f5.tar.gz
openembedded-core-771d3123331fbfab1eb9ce47e3013eabcb2248f5.tar.bz2
openembedded-core-771d3123331fbfab1eb9ce47e3013eabcb2248f5.zip
openssl: fix hard paths in native openssl
This causes the package to not be relocateable from sstate The OpenSSL binaries respect a few environment variables for determining locations of files, so we now use these to point the binaries to the relocated locations. [YOCTO #6827] Signed-off-by: André Draszik <adraszik@digisoft.tv> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/openssl/openssl.inc9
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index 9ec884f332..31dfd8fea7 100644
--- a/meta/recipes-connectivity/openssl/openssl.inc
+++ b/meta/recipes-connectivity/openssl/openssl.inc
@@ -193,5 +193,12 @@ do_install_ptest () {
install util/shlib_wrap.sh ${D}${PTEST_PATH}/util
}
-BBCLASSEXTEND = "native nativesdk"
+do_install_append_virtclass-native() {
+ create_wrapper ${D}${bindir}/openssl \
+ OPENSSL_CONF=${libdir}/ssl/openssl.cnf \
+ SSL_CERT_DIR=${libdir}/ssl/certs \
+ SSL_CERT_FILE=${libdir}/ssl/cert.pem \
+ OPENSSL_ENGINES=${libdir}/ssl/engines
+}
+BBCLASSEXTEND = "native nativesdk"