mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 08:48:45 +01:00
python3: improve reproducibility
The compiled .pyc files contain time stamp corresponding to the compile time. This prevents binary reproducibility. This patch allows to achieve binary reproducibility by overriding the build time stamp by the value exported via SOURCE_DATE_EPOCH. Patch by Bernhard M. Wiedemann. [YOCTO#11241] (From OE-Core rev: 2175aec10a764bfc925a3fb447547982d0ae662f) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
591db9fbd3
commit
6fd0e23dbd
@@ -24,6 +24,7 @@ ${DISTRO_SRC_URI} \
|
||||
file://sysconfig.py-add-_PYTHON_PROJECT_SRC.patch \
|
||||
file://setup.py-check-cross_compiling-when-get-FLAGS.patch \
|
||||
file://0001-Do-not-use-the-shell-version-of-python-config-that-w.patch \
|
||||
file://support_SOURCE_DATE_EPOCH_in_py_compile.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "57d1f8bfbabf4f2500273fb0706e6f21"
|
||||
|
||||
Reference in New Issue
Block a user