openssl10, packagegroup-crypto: un-clash and install 1.0 binaries and engines
PATCH 1/1 openssl10, packagegroup-crypto: un-clash and install 1.0 binaries and engines
Signed-off-by Denys Dmytriyenko <[email protected]>
--- .../recipes-connectivity/openssl/openssl10_%.bbappend | 11 +++++++++++ .../packagegroups/packagegroup-arago-tisdk-crypto.bb | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-connectivity/openssl/openssl10_%.bbappend +11 -0
@@ -13,3 +13,14 @@ CRYPTODEV_AFALG_PATCHES = " \ " SRC_URI += "${CRYPTODEV_AFALG_PATCHES}" + +# override this from upstream to preserve engine libs, binaries and config +# w/o clashing with 1.1 +openssl_package_preprocess () { + for file in `find ${PKGD} -name *.h -o -name *.pc`; do + rm $file + done + mv ${PKGD}/usr/bin/openssl ${PKGD}/usr/bin/openssl10 + mv ${PKGD}/usr/bin/c_rehash ${PKGD}/usr/bin/c_rehash10 + mv ${PKGD}/etc/ssl/openssl.cnf ${PKGD}/etc/ssl/openssl10.cnf +}
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-crypto.bb +3 -1
@@ -1,6 +1,6 @@ DESCRIPTION = "Task to install crypto packages into target FS" LICENSE = "MIT" -PR = "r11" +PR = "r12" PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -11,6 +11,8 @@ CRYPTO_SUPPORT = "\ openssl-bin \ openssl-conf \ openssl-engines \ + openssl10 \ + openssl10-engines \ " CRYPTO_SUPPORT_append_ti33x = " ti-crypto-examples cryptodev-module cryptodev-tests"
Signature · 1 line
2.17.1