From 8afdf055b7b8bad6f0f13c3cd184d019c50a1e25 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 25 Apr 2021 17:55:03 +0100 Subject: 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 --- meta/recipes-support/libseccomp/libseccomp_2.5.1.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/recipes-support') diff --git a/meta/recipes-support/libseccomp/libseccomp_2.5.1.bb b/meta/recipes-support/libseccomp/libseccomp_2.5.1.bb index 98b2639742..8fe1023901 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*" -- cgit 1.2.3-korg