diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2018-03-10 11:27:29 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-15 06:27:18 -0700 |
commit | 459f177c9e8f888e93663e1fddb16bb499ee9a0b (patch) | |
tree | 83c9d365ecb5d7f9352255cfb82d25993ca88b76 /meta/recipes-connectivity/openssl/openssl_1.0.2n.bb | |
parent | 58b5f8a221a4f56909234a39fbce886c1e723aa5 (diff) | |
download | poky-459f177c9e8f888e93663e1fddb16bb499ee9a0b.tar.gz |
openssl_1.0.2n: improve reproducibility
Improve reproducible build of:
openssl-staticdev
openssl-dbg
libcrypto
There are two main causes that prevent reproducible build, both related to
the generated file "buildinf.h":
1. "buildinf.h" contains build host CFLAGS, containing various build
host references. We need to pass sanitized CFLAGS to the script
generating this file ("mkbuildinf.pl". )
2. We also need to modify the script "mkbuildinf.pl" itsel in order to
generate a build timestamp based on SOURCE_DATE_EPOCH, if present in
the environment.
(From OE-Core rev: 6c556ed3553d8f5e75d65cd7db92b26df43846b7)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl_1.0.2n.bb')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl_1.0.2n.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.2n.bb b/meta/recipes-connectivity/openssl/openssl_1.0.2n.bb index 75e44bae9f..ae851067f9 100644 --- a/meta/recipes-connectivity/openssl/openssl_1.0.2n.bb +++ b/meta/recipes-connectivity/openssl/openssl_1.0.2n.bb | |||
@@ -42,6 +42,11 @@ SRC_URI += "file://find.pl;subdir=openssl-${PV}/util/ \ | |||
42 | file://0001-Fix-build-with-clang-using-external-assembler.patch \ | 42 | file://0001-Fix-build-with-clang-using-external-assembler.patch \ |
43 | file://0001-openssl-force-soft-link-to-avoid-rare-race.patch \ | 43 | file://0001-openssl-force-soft-link-to-avoid-rare-race.patch \ |
44 | " | 44 | " |
45 | |||
46 | SRC_URI_append_class-target = "\ | ||
47 | file://reproducible-cflags.patch \ | ||
48 | file://reproducible-mkbuildinf.patch \ | ||
49 | " | ||
45 | SRC_URI[md5sum] = "13bdc1b1d1ff39b6fd42a255e74676a4" | 50 | SRC_URI[md5sum] = "13bdc1b1d1ff39b6fd42a255e74676a4" |
46 | SRC_URI[sha256sum] = "370babb75f278c39e0c50e8c4e7493bc0f18db6867478341a832a982fd15a8fe" | 51 | SRC_URI[sha256sum] = "370babb75f278c39e0c50e8c4e7493bc0f18db6867478341a832a982fd15a8fe" |
47 | 52 | ||