From owner-freebsd-hackers@freebsd.org Mon Jun 13 18:06:21 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A0D80AF2A20 for ; Mon, 13 Jun 2016 18:06:21 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it0-x242.google.com (mail-it0-x242.google.com [IPv6:2607:f8b0:4001:c0b::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6CADC2F10; Mon, 13 Jun 2016 18:06:21 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it0-x242.google.com with SMTP id d71so8226702ith.1; Mon, 13 Jun 2016 11:06:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=cbHvS9QTjGwhkGkx2bgmygmeK9OB/V+WJvQm5Y6PFss=; b=jc4RO7nexUQ577XoDUfoPHqE5/p+GfZv9niQ3L0Ei+2O9gZi4G1fO0beTem64ycG25 8xOhs1k9RvNwqlyHezYmMg8aGKbakwUcYpCoUstpguXuKKF2wq4JBq7DoOmKB1UMgx7/ kyM6rTwLsoo4PVFtEefJ13DakukMdubNnIwT9h0M5+aJ5CVOVk2IqoqizPQkK3Gmsq2i ccHmsrAEMNrWgULRCwHWcnbVW3bT2wxyXg3zGj+m17RVjZZxaXbmOMorIEIIIxUmm/Bu RkDlD149xVmvurY5axuPQLeLEFyB9p1pqKFPqfW2wfwS7b1J5qQmKMLIbX9+iSNfySA7 RDMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=cbHvS9QTjGwhkGkx2bgmygmeK9OB/V+WJvQm5Y6PFss=; b=MFsrh3BpOswZVPad2ua9Cgu+jDhu8sY+tEmL9rnvY9veNll0VcNrm4YK0l8tPgmH0z w99zMmqYJE3xTYC10C1jeoRIsTXfK3knokKJEX5WL9Vwq3j6tty+m0pnf0v9fF/+weZw fFynJR63guHkOC2GeCj1QaHLYA+IuH+dbWKN/54Rrlk9N8omCoIxejdK7FA1lMh8rpU2 dtySS0tGYGJ7Dokf6CYp6IOwr5MHyir4A8fQUutK7AHINrutOFYXBGb4Tthcfj7gZOuL Z5AgOJPh1s2xbhPVl/jDlUbxHcQcgABMXLfTaRFYDjLnrdOTvIITg8vCbBEK4QOWsDk4 8d9Q== X-Gm-Message-State: ALyK8tJgRF9GBjBsjKpJ0tlz+OcKLsrXeIJ8dZxR/herodvG6cg00dHXJlv/2z3fTeWxdV35b5VPOXkUK/J84Q== X-Received: by 10.36.57.202 with SMTP id l193mr1601351ita.5.1465841180735; Mon, 13 Jun 2016 11:06:20 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.27.197 with HTTP; Mon, 13 Jun 2016 11:06:01 -0700 (PDT) In-Reply-To: <20160611154703.GB929@pyro.eu.org> References: <20160611154703.GB929@pyro.eu.org> From: Ed Maste Date: Mon, 13 Jun 2016 14:06:01 -0400 X-Google-Sender-Auth: DpBQuwTJTehegq6go1JVym1RasU Message-ID: Subject: Re: [rb-general] makefs: -T maximum-time argument To: General discussions about reproducible builds Cc: "freebsd-hackers@freebsd.org" , Baptiste Daroussin Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Jun 2016 18:06:21 -0000 On 11 June 2016 at 11:47, Steven Chamberlain wrote: > 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. It looks like the attachment was stripped by the list, so I went ahead and tried importing the four commits related to -T from NetBSD. The result is up for review in https://reviews.freebsd.org/D6835. I would like to compare against your patch though; would you mind forwarding a copy to me directly?