[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.
[0] https://reproducible-builds.org/
[1] https://https://reproducible-builds.org/specs/source-date-epoch/
[2] https://bugs.debian.org/900410
---
misc.c | 27 +++++++++++++++++++++++++--
1 file changed, 25 insertions(+), 2 deletions(-)
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` address@hidden / chris-lamb.co.uk
`-
misc.c-Make-the-output-reproducible.patch
Description: Text Data
- [Info-mtools] [PATCH] misc.c: Make the output reproducible,
Chris Lamb <=
- Re: [Info-mtools] [PATCH] misc.c: Make the output reproducible, Pali Rohár, 2018/10/29
- Re: [Info-mtools] [PATCH] misc.c: Make the output reproducible, Chris Lamb, 2018/10/29
- Re: [Info-mtools] [PATCH] misc.c: Make the output reproducible, Pali Rohár, 2018/10/29
- Re: [Info-mtools] [PATCH] misc.c: Make the output reproducible, Chris Lamb, 2018/10/29
- Re: [Info-mtools] [PATCH] misc.c: Make the output reproducible, Pali Rohár, 2018/10/29
- Re: [Info-mtools] [PATCH] misc.c: Make the output reproducible, Chris Lamb, 2018/10/30
- Re: [Info-mtools] [PATCH] misc.c: Make the output reproducible, Pali Rohár, 2018/10/30