diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-25 17:55:03 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-26 14:14:42 +0100 |
| commit | 280a83d4afa1b795a68f27b8201d845e327f6b85 (patch) | |
| tree | 426f3478b4b71a669033e344ef847ab4deff4722 | |
| parent | e07821846ba0ea739cb0e01e8b947706fabdcf22 (diff) | |
| download | poky-280a83d4afa1b795a68f27b8201d845e327f6b85.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.
(From OE-Core rev: 8afdf055b7b8bad6f0f13c3cd184d019c50a1e25)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-support/libseccomp/libseccomp_2.5.1.bb | 4 |
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 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() { | |||
| 42 | for file in $(find tools/* -executable -type f); do | 42 | for file in $(find tools/* -executable -type f); do |
| 43 | install -m 744 ${S}/${file} ${D}/${PTEST_PATH}/tools | 43 | install -m 744 ${S}/${file} ${D}/${PTEST_PATH}/tools |
| 44 | done | 44 | done |
| 45 | # Overwrite libtool wrappers with real executables | ||
| 46 | for file in $(find tools/.libs/* -executable -type f); do | ||
| 47 | install -m 744 ${S}/${file} ${D}/${PTEST_PATH}/tools | ||
| 48 | done | ||
| 45 | } | 49 | } |
| 46 | 50 | ||
| 47 | FILES_${PN} = "${bindir} ${libdir}/${BPN}.so*" | 51 | FILES_${PN} = "${bindir} ${libdir}/${BPN}.so*" |
