]> code.ossystems Code Review - openembedded-core.git/commitdiff
openssl: correct bad path on package preprocess
authorChristophe PRIOUZEAU <christophe.priouzeau@st.com>
Thu, 22 Nov 2018 12:13:11 +0000 (12:13 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Dec 2018 12:28:55 +0000 (12:28 +0000)
In case of SDK generation, /usr/bin/ path are not correct
and must be replaced by ${bindir}.

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-connectivity/openssl/openssl10_1.0.2q.bb

index 8058b98677a864a1a89f191e00aa6112693137ad..6518dac076315234327465e16d91d9359f806a82 100644 (file)
@@ -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}
 
 }