[oe-commits] =?UTF-8?Q?Andr=C3=A9=20Draszik=20?=: openssl: fix hard paths in native openssl
git at git.openembedded.org
git at git.openembedded.org
Wed Feb 11 17:40:37 UTC 2015
Module: openembedded-core.git
Branch: dizzy
Commit: 4d8b1f51d5910e12c0189b7b3df31f4d8fd7bffb
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=4d8b1f51d5910e12c0189b7b3df31f4d8fd7bffb
Author: André Draszik <adraszik at digisoft.tv>
Date: Mon Oct 13 12:09:09 2014 +0100
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]
(From OE-Core rev: 771d3123331fbfab1eb9ce47e3013eabcb2248f5)
Signed-off-by: André Draszik <adraszik at digisoft.tv>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
meta/recipes-connectivity/openssl/openssl.inc | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index 9ec884f..31dfd8f 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"
More information about the Openembedded-commits
mailing list