Date: Sat, 11 Jun 2016 16:47:03 +0100 From: Steven Chamberlain <steven@pyro.eu.org> To: freebsd-hackers@freebsd.org Cc: bapt@freebsd.org, rb-general@lists.reproducible-builds.org Subject: makefs: -T maximum-time argument Message-ID: <20160611154703.GB929@pyro.eu.org>
next in thread | raw e-mail | index | archive | help
--NMuMz9nt05w80d4+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! 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: http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.sbin/makefs/makefs.8.diff?r1=3D= 1.53&r2=3D1.54&only_with_tag=3DMAIN&f=3Dh though they support the use of -T <filename> as well as -T <integer> Thanks! Regards, --=20 Steven Chamberlain steven@pyro.eu.org --NMuMz9nt05w80d4+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCAAGBQJXXDJ2AAoJELrpzbaMAu5TrEkH/jlDzIoQxZLAjwOjGB5bR0/5 ZwbUoc0xmzXMYSXU2I65Et2Nv8bq/gRa/xqcUncOnLdy8bJGpBAyO0iCQEXfX1vr nxYptTSi46Lpb/X/Ftqd5KHwVY/ZllT/cwcQFr2nsvbVPsyUv4G+bH8WyIiLbx9Q rQth7ytU7kpr35hEAHZVMHYb+UujSBLRVX6fxBPh/9GMho8vRaqtsLMFSlcRKNoC Ad5U9IjCysKXsvVrAFVUvTjsWuZQ6tlno86pObVzkVkQeou/NhLIESLUtBWKNEKv OdDIhWFqnkIw7fw4aY20rHHPW6UciQMVSudbeZvT6chFM8GyYAk3/Dwys0wZqu0= =hxfE -----END PGP SIGNATURE----- --NMuMz9nt05w80d4+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160611154703.GB929>