From: Christophe PRIOUZEAU Date: Thu, 22 Nov 2018 12:13:11 +0000 (+0000) Subject: openssl: correct bad path on package preprocess X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~15959 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fa7d99444763192914e798d8bc9dba1d9cdae42;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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}. Signed-off-by: Christophe Priouzeau Signed-off-by: Ross Burton --- diff --git a/meta/recipes-connectivity/openssl/openssl10_1.0.2q.bb b/meta/recipes-connectivity/openssl/openssl10_1.0.2q.bb index 8058b98677a..6518dac0763 100644 --- a/meta/recipes-connectivity/openssl/openssl10_1.0.2q.bb +++ b/meta/recipes-connectivity/openssl/openssl10_1.0.2q.bb @@ -353,8 +353,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} }