]> code.ossystems Code Review - openembedded-core.git/commitdiff
libnewt: Use python3targetconfig to fix reproducibility issue
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Oct 2021 10:45:26 +0000 (11:45 +0100)
committerSteve Sakoman <steve@sakoman.com>
Tue, 19 Oct 2021 14:04:49 +0000 (04:04 -1000)
We're seeing pthread being linked sometimes and not others leading to
non-reproducible target binaries. The reason is mixing the native python
config with the target one. We should use the target one.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3fe5101b335384ef83e96ccc58687fd631164075)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-extended/newt/libnewt_0.52.21.bb

index 88b4cf4a03e5230b37136c0f676608be2bcbe80e..3d35a17c92e3ca14bebeead17356ed8caf9da7fb 100644 (file)
@@ -29,7 +29,7 @@ SRC_URI[sha256sum] = "265eb46b55d7eaeb887fca7a1d51fe115658882dfe148164b6c49fccac
 
 S = "${WORKDIR}/newt-${PV}"
 
-inherit autotools-brokensep python3native python3-dir
+inherit autotools-brokensep python3native python3-dir python3targetconfig
 
 EXTRA_OECONF = "--without-tcl --with-python"