From: Christophe PRIOUZEAU Date: Thu, 22 Nov 2018 12:13:11 +0000 (+0000) Subject: openssl: correct bad path on package preprocess X-Git-Tag: 2018-10.4-thud~348 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=6a1c020008d334b56b94399a61ad1dc3a4817b36;p=openembedded-core.git openssl: correct bad path on package preprocess In case of SDK generation, /usr/bin/ path are not correct and must be replaced by ${bindir}. (From OE-Core rev: 0fa7d99444763192914e798d8bc9dba1d9cdae42) Signed-off-by: Christophe Priouzeau Signed-off-by: Ross Burton Signed-off-by: Richard Purdie Signed-off-by: Armin Kuster --- diff --git a/meta/recipes-connectivity/openssl/openssl10_1.0.2p.bb b/meta/recipes-connectivity/openssl/openssl10_1.0.2p.bb index 4325940701..42f9bcfdcc 100644 --- a/meta/recipes-connectivity/openssl/openssl10_1.0.2p.bb +++ b/meta/recipes-connectivity/openssl/openssl10_1.0.2p.bb @@ -354,8 +354,8 @@ openssl_package_preprocess () { for file in `find ${PKGD} -name *.h -o -name *.pc -o -name *.so`; do rm $file done - rm ${PKGD}/usr/bin/openssl - rm ${PKGD}/usr/bin/c_rehash - rmdir ${PKGD}/usr/bin + rm ${PKGD}${bindir}/openssl + rm ${PKGD}${bindir}/c_rehash + rmdir ${PKGD}${bindir} }