[Buildroot] [PATCH v2 03/15] reproducible: add '-n' to gzip invocations

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Nov 18 11:38:05 UTC 2016


Hello,

On Fri, 18 Nov 2016 10:10:12 +0100, Jérôme Pouiller wrote:
> Default invocation to gzip include timestamp in output file. This feature is
> incompatible with BR2_REPRODUCIBLE. It is possible to disable it with '-n'.
> 
> The environment variable GZIP can hold a set of default options for gzip. So
> instead to find all gzip invocation in build process, we just export 'GZIP=-n'.
> 
> Notice bzip2, lzma and xz are impacted by this problem. On the other hand, lzop
> include timestamp and does not provide any way to disable it.
> 
> This work was sponsored by `BA Robotic Systems'.
> 
> Signed-off-by: Jérôme Pouiller <jezz at sysmic.org>

Reviewed-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>

If nobody complains about this patch, I'm going to apply it to the next
branch soon.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list