Ensure BUILD_ARCH doesn't leak into the ptest output package causing
reproducibility to break cross build architecture.

Signed-off-by: Richard Purdie <[email protected]>
---
 meta/recipes-connectivity/openssl/openssl_4.0.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-connectivity/openssl/openssl_4.0.2.bb 
b/meta/recipes-connectivity/openssl/openssl_4.0.2.bb
index 740a2fc66e4..bb58c27fbc8 100644
--- a/meta/recipes-connectivity/openssl/openssl_4.0.2.bb
+++ b/meta/recipes-connectivity/openssl/openssl_4.0.2.bb
@@ -245,7 +245,7 @@ do_install_ptest() {
        install -m755 ${S}/test/smcont*.txt ${D}${PTEST_PATH}/test/
        install -m755 ${S}/test/ssl_test.tmpl ${D}${PTEST_PATH}/test/
 
-       sed 's|${S}|${PTEST_PATH}|g' -i ${D}${PTEST_PATH}/configdata.pm 
${D}${PTEST_PATH}/util/wrap.pl
+       sed -e 's|${S}|${PTEST_PATH}|g' -e 
's|${BUILD_ARCH}-${BUILD_OS}|${TARGET_SYS}|g' -i 
${D}${PTEST_PATH}/configdata.pm ${D}${PTEST_PATH}/util/wrap.pl
 
        ln -s ${libdir}/ossl-modules/ ${D}${PTEST_PATH}/providers
 }
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#246226): 
https://lists.openembedded.org/g/openembedded-core/message/246226
Mute This Topic: https://lists.openembedded.org/mt/121321663/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to