summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libseccomp
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-25 17:55:03 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-26 14:14:29 +0100
commit8afdf055b7b8bad6f0f13c3cd184d019c50a1e25 (patch)
treeea9708d992b41236a545353e2ca00c94e9143f82 /meta/recipes-support/libseccomp
parentcd49367af2b3daa8d3012ae2b8ace380d41cc0b9 (diff)
downloadopenembedded-core-contrib-8afdf055b7b8bad6f0f13c3cd184d019c50a1e25.tar.gz
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libseccomp')
-rw-r--r--meta/recipes-support/libseccomp/libseccomp_2.5.1.bb4
1 files changed, 4 insertions, 0 deletions
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*"