summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/curl
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-15 18:00:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-16 07:40:33 +0100
commit706975657227fd8270e8411f1455714a970d5d62 (patch)
treee22bf87ea638a47f4414d41e02f6d395c09b236b /meta/recipes-support/curl
parent4161dbbbd6c446501b6ec750f5dbc7fb0296eac0 (diff)
downloadpoky-706975657227fd8270e8411f1455714a970d5d62.tar.gz
curl: Fix determinism issues in ptest package
NROFF can take different values depending on the filesystem layout of the host system and this leaks onto the target ptest package through the Makefiles. Since ptest doesn't use them, delete them to resovle that issue. Also ensure the task can rerun even if it already deleted configurehelp.pm [YOCTO #14863] (From OE-Core rev: 0b1e3746478e9ad1800b027ab5dc96495997807e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/curl')
-rw-r--r--meta/recipes-support/curl/curl_7.84.0.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-support/curl/curl_7.84.0.bb b/meta/recipes-support/curl/curl_7.84.0.bb
index 28b09ef017..75417cd1bc 100644
--- a/meta/recipes-support/curl/curl_7.84.0.bb
+++ b/meta/recipes-support/curl/curl_7.84.0.bb
@@ -93,9 +93,10 @@ do_compile_ptest() {
93 93
94do_install_ptest() { 94do_install_ptest() {
95 cat ${WORKDIR}/disable-tests >> ${S}/tests/data/DISABLED 95 cat ${WORKDIR}/disable-tests >> ${S}/tests/data/DISABLED
96 rm ${B}/tests/configurehelp.pm 96 rm -f ${B}/tests/configurehelp.pm
97 cp -rf ${B}/tests ${D}${PTEST_PATH} 97 cp -rf ${B}/tests ${D}${PTEST_PATH}
98 cp -rf ${S}/tests ${D}${PTEST_PATH} 98 cp -rf ${S}/tests ${D}${PTEST_PATH}
99 find ${D}${PTEST_PATH}/ -type f -name Makefile.am -o -name Makefile.in -o -name Makefile -delete
99 install -d ${D}${PTEST_PATH}/src 100 install -d ${D}${PTEST_PATH}/src
100 ln -sf ${bindir}/curl ${D}${PTEST_PATH}/src/curl 101 ln -sf ${bindir}/curl ${D}${PTEST_PATH}/src/curl
101 cp -rf ${D}${bindir}/curl-config ${D}${PTEST_PATH} 102 cp -rf ${D}${bindir}/curl-config ${D}${PTEST_PATH}