]> code.ossystems Code Review - openembedded-core.git/commitdiff
libseccomp: Fix reproducibility issue
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 25 Apr 2021 16:55:03 +0000 (17:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 26 Apr 2021 13:14:29 +0000 (14:14 +0100)
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>
meta/recipes-support/libseccomp/libseccomp_2.5.1.bb

index 98b2639742b035a0d48ef03913c9d66c3f29564f..8fe1023901c3940008a25a618c5bdd08bf3f782b 100644 (file)
@@ -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*"