[rb-general] [FOSDEM16] Reproducible FreeBSD and variants
Thomas Klausner
wiz at NetBSD.org
Mon Feb 1 17:55:39 CET 2016
On Sun, Jan 31, 2016 at 11:46:21PM +0000, Steven Chamberlain wrote:
> The release images are not reproducible since they are a UFS filesystem
> built by makefs. But I think I already wrote a patch for this!
> http://sources.debian.net/patches/patch/makefs/20100306-6/maxtime-option.diff/
> I will soon rebase that on FreeBSD-CURRENT and send it upstream.
AFAIK, makefs originates from NetBSD. The version in NetBSD-current
already provides a timestamp option:
-T timestamp
Specify a timestamp to be set for all file system files and
directories created so that repeatable builds are possible. The
timestamp can be a pathname, where the timestamps are derived from
that file, a parseable date for parsedate(3) (this option is not
yet available in the tools build), or an integer value interpreted
as the number of seconds from the Epoch. Note that timestamps
specified in an mtree(5) spec file, override the default timestamp.
Cheers,
Thomas
More information about the rb-general
mailing list