Re: [OE-core] [PATCH 1/4] gnutls: improve reproducibility

2017-11-17 Thread Andre McCurdy
On Fri, Nov 17, 2017 at 5:08 PM, Christopher Larson wrote: > On Fri, Nov 17, 2017 at 5:23 PM, Bystricky, Juro > wrote: >> > Is there a configure option we could use (perhaps via >> > CACHED_CONFIGUREVARS) to achieve the same end result without needing >> > to run sed on config.h? >> >> Sorry Andr

Re: [OE-core] [PATCH 1/4] gnutls: improve reproducibility

2017-11-17 Thread Christopher Larson
On Fri, Nov 17, 2017 at 5:23 PM, Bystricky, Juro wrote: > > > Is there a configure option we could use (perhaps via > > CACHED_CONFIGUREVARS) to achieve the same end result without needing > > to run sed on config.h? > > Sorry Andre, I am not quite sure I understand the question. Do you suggest >

Re: [OE-core] [PATCH 1/4] gnutls: improve reproducibility

2017-11-17 Thread Bystricky, Juro
> Is there a configure option we could use (perhaps via > CACHED_CONFIGUREVARS) to achieve the same end result without needing > to run sed on config.h? Sorry Andre, I am not quite sure I understand the question. Do you suggest to have a "config.h" cached somewhere instead of generating the file

Re: [OE-core] [PATCH 1/4] gnutls: improve reproducibility

2017-11-16 Thread Andre McCurdy
On Thu, Nov 16, 2017 at 11:48 AM, Juro Bystricky wrote: > Sanitize generated config.h containing build host reference such as: > > #define POSIX_SHELL "/tmp/hosttools/bash" > > The path for POSIX_SHELL is not only wrong for the cross-compiled target, > it also prevents reproducible build. > > Pri

[OE-core] [PATCH 1/4] gnutls: improve reproducibility

2017-11-16 Thread Juro Bystricky
Sanitize generated config.h containing build host reference such as: #define POSIX_SHELL "/tmp/hosttools/bash" The path for POSIX_SHELL is not only wrong for the cross-compiled target, it also prevents reproducible build. Prior the compilation we edit the value to: #define POSIX_SHELL "bash"