From: Richard Purdie Date: Sun, 25 Apr 2021 16:55:03 +0000 (+0100) Subject: libseccomp: Fix reproducibility issue X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~8066 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8afdf055b7b8bad6f0f13c3cd184d019c50a1e25;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git libseccomp: Fix reproducibility issue Rather than installing libtool wrapper scripts which won't work on target and aren't reproducible, use the real binaries. Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/libseccomp/libseccomp_2.5.1.bb b/meta/recipes-support/libseccomp/libseccomp_2.5.1.bb index 98b2639742b..8fe1023901c 100644 --- a/meta/recipes-support/libseccomp/libseccomp_2.5.1.bb +++ b/meta/recipes-support/libseccomp/libseccomp_2.5.1.bb @@ -42,6 +42,10 @@ do_install_ptest() { for file in $(find tools/* -executable -type f); do install -m 744 ${S}/${file} ${D}/${PTEST_PATH}/tools done + # Overwrite libtool wrappers with real executables + for file in $(find tools/.libs/* -executable -type f); do + install -m 744 ${S}/${file} ${D}/${PTEST_PATH}/tools + done } FILES_${PN} = "${bindir} ${libdir}/${BPN}.so*"