]> code.ossystems Code Review - openembedded-core.git/commit
openssl_1.0.2n: improve reproducibility
authorJuro Bystricky <juro.bystricky@intel.com>
Sat, 10 Mar 2018 19:27:29 +0000 (11:27 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 12 Mar 2018 22:07:50 +0000 (15:07 -0700)
commit6c556ed3553d8f5e75d65cd7db92b26df43846b7
tree21705ae83d838b63dc7ae383751e8caaa498a226
parent073d8d001033471d7fe44f52212c72a6c3541313
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.

Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/openssl/openssl-1.0.2n/reproducible-cflags.patch [new file with mode: 0644]
meta/recipes-connectivity/openssl/openssl-1.0.2n/reproducible-mkbuildinf.patch [new file with mode: 0644]
meta/recipes-connectivity/openssl/openssl10.inc
meta/recipes-connectivity/openssl/openssl_1.0.2n.bb