[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Info-mtools] [PATCH] misc.c: Make the output reproducible

From: Chris Lamb
Subject: [Info-mtools] [PATCH] misc.c: Make the output reproducible
Date: Mon, 29 Oct 2018 16:45:20 -0400

Hi mtools maintainers,

Whilst working on the Reproducible Builds effort [0], we noticed
that mtools generates non-reproducible output.

This is because it uses the current time of day as a default
timestamp, such as when adding files to an existing file.

Patch attached that uses the SOURCE_DATE_EPOCH [1] environment
variables. It was initially filed in Debian bug #900410 [2]) and has
been incorporated into the version distributed by that operating
system seemingly without issue.

 [1] https://

 misc.c | 27 +++++++++++++++++++++++++--
 1 file changed, 25 insertions(+), 2 deletions(-)


     : :'  :     Chris Lamb
     `. `'`      address@hidden /

Attachment: misc.c-Make-the-output-reproducible.patch
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]