diff options
author | André Draszik <adraszik@digisoft.tv> | 2014-10-13 12:09:09 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-11 17:40:05 +0000 |
commit | ad9ba796fa035b71332b4d1898fdb2b63bbc96f7 (patch) | |
tree | 18e19a7a9aeb96c1779b0dc6d14dfa9447017d39 /meta/recipes-connectivity/openssl/openssl.inc | |
parent | f7fc59f2fdcb8d0b48fb3ca3dc867716ee9e43d9 (diff) | |
download | poky-ad9ba796fa035b71332b4d1898fdb2b63bbc96f7.tar.gz |
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)
(From OE-Core rev: 4d8b1f51d5910e12c0189b7b3df31f4d8fd7bffb)
Signed-off-by: André Draszik <adraszik@digisoft.tv>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl.inc')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl.inc | 9 |
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 () { | |||
193 | install util/shlib_wrap.sh ${D}${PTEST_PATH}/util | 193 | install util/shlib_wrap.sh ${D}${PTEST_PATH}/util |
194 | } | 194 | } |
195 | 195 | ||
196 | BBCLASSEXTEND = "native nativesdk" | 196 | do_install_append_virtclass-native() { |
197 | create_wrapper ${D}${bindir}/openssl \ | ||
198 | OPENSSL_CONF=${libdir}/ssl/openssl.cnf \ | ||
199 | SSL_CERT_DIR=${libdir}/ssl/certs \ | ||
200 | SSL_CERT_FILE=${libdir}/ssl/cert.pem \ | ||
201 | OPENSSL_ENGINES=${libdir}/ssl/engines | ||
202 | } | ||
197 | 203 | ||
204 | BBCLASSEXTEND = "native nativesdk" | ||