[rb-general] makefs: -T maximum-time argument

Steven Chamberlain steven at pyro.eu.org
Sat Jun 11 17:47:03 CEST 2016


During discussion of reproducible FreeBSD at FOSDEM16, I mentioned that
in Debian we have a patch for makefs to clamp timestamps.  The typical
usage is -T $SOURCE_DATE_EPOCH and at least on UFS (with consistent
readdir order) this allows to build reproducible images of our installer.

Debian's makefs actually comes from MirBSD, who merged this patch today.

I've attached it, rebased for FreeBSD but I'm afraid I've not tested it
there at all.  Hopefully someone can check it and consider merging.

The same flag was also added to NetBSD some months ago:
though they support the use of -T <filename> as well as -T <integer>

Steven Chamberlain
steven at pyro.eu.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20160611/29fef238/attachment.sig>

More information about the rb-general mailing list