diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2017-08-09 10:48:31 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-16 00:03:15 +0100 |
commit | 6fd0e23dbd47bee2cd6debc4c8234375aa0e0e27 (patch) | |
tree | d62b195e81b0d70bd5d334060fa9a9c6084fad0a /meta/recipes-devtools/python/python3_3.5.3.bb | |
parent | 591db9fbd3f67145a6389c6011381221b604f16f (diff) | |
download | poky-6fd0e23dbd47bee2cd6debc4c8234375aa0e0e27.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/python/python3_3.5.3.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3_3.5.3.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3_3.5.3.bb b/meta/recipes-devtools/python/python3_3.5.3.bb index b67aec9fc0..13df12fe56 100644 --- a/meta/recipes-devtools/python/python3_3.5.3.bb +++ b/meta/recipes-devtools/python/python3_3.5.3.bb | |||
@@ -16,6 +16,7 @@ file://130-readline-setup.patch \ | |||
16 | file://150-fix-setupterm.patch \ | 16 | file://150-fix-setupterm.patch \ |
17 | file://0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch \ | 17 | file://0001-h2py-Fix-issue-13032-where-it-fails-with-UnicodeDeco.patch \ |
18 | file://tweak-MULTIARCH-for-powerpc-linux-gnuspe.patch \ | 18 | file://tweak-MULTIARCH-for-powerpc-linux-gnuspe.patch \ |
19 | file://support_SOURCE_DATE_EPOCH_in_py_compile.patch \ | ||
19 | ${DISTRO_SRC_URI} \ | 20 | ${DISTRO_SRC_URI} \ |
20 | " | 21 | " |
21 | 22 | ||