]> code.ossystems Code Review - openembedded-core.git/commit
python3: improve reproducibility
authorJuro Bystricky <juro.bystricky@intel.com>
Wed, 9 Aug 2017 17:48:31 +0000 (10:48 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Aug 2017 23:01:43 +0000 (00:01 +0100)
commit2175aec10a764bfc925a3fb447547982d0ae662f
tree5cbf921d0f909d72f4ea25de592a4beaca6b1597
parent1e301a9f959fd3816d96cfdb6f8530898cefafce
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]

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python3-native_3.5.3.bb
meta/recipes-devtools/python/python3/support_SOURCE_DATE_EPOCH_in_py_compile.patch [new file with mode: 0644]
meta/recipes-devtools/python/python3_3.5.3.bb