[Buildroot] [PATCH 01/34] reproducibility: introduce config knob

Peter Korsgaard peter at korsgaard.com
Mon May 9 07:42:05 UTC 2016


>>>>> "Gilles" == Gilles Chanteperdrix <gilles.chanteperdrix at xenomai.org> writes:

 > Making the builds reproducible involves turning off build timestamps,
 > which some users may find annoying. So make the reproducible builds
 > optional.
 > ---
 >  Config.in | 3 +++
 >  1 file changed, 3 insertions(+)

 > diff --git a/Config.in b/Config.in
 > index d795361..3cdd659 100644
 > --- a/Config.in
 > +++ b/Config.in
 > @@ -623,6 +623,9 @@ config BR2_COMPILER_PARANOID_UNSAFE_PATH
 
 >  endmenu
 
 > +config BR2_REPRODUCIBLE
 > +	bool "Try and remove all sources of non-reproducibility from the build"
 > +

Hmm, I'm not sure I like the extra complexity of 2 ways of doing
things. What are the use cases for these timestamps? Are they important
enough to keep?

In any case, as enabling this option makes us do "more" (E.G. pass extra
arguments to tools), we should imho enable it by default to ensure those
code paths gets tested.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list