[rb-general] [PATCH] add argument -fixed-time to set all timestamp to one

Chris Lamb lamby at debian.org
Mon Nov 21 09:21:03 CET 2016

[Adding rb-general at lists.reproducible-builds.org to CC]

intrigeri wrote:

> For Tails reproducible builds
> I would not be surprised if Chris Lamb (Cc'ed) followed-up on this
> with an improved patch that honors $SOURCE_DATE_EPOCH
> for -mkfs-fixed-time :)

Indeed; attached.

I have a strong preference for the the environment variable approach.

Not only have we found that honouring SOURCE_DATE_EPOCH is far easier
and more intuitive for end-users to adopt in their build systems (rather
than ensuring they are passing the right set of command-line arguments),
it is also backwards-compatible with previous versions of mksquashfs,
preventing the need for ugly version checking.


     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-If-SOURCE_DATE_EPOCH-is-set-override-timestamps-with.patch
Type: text/x-patch
Size: 4435 bytes
Desc: not available
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20161121/06df1b95/attachment.bin>

More information about the rb-general mailing list