From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 14 20:57:28 2010 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6824B1065672 for ; Sun, 14 Nov 2010 20:57:28 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp1.one.com (csmtp1.one.com [195.47.247.21]) by mx1.freebsd.org (Postfix) with ESMTP id F062A8FC1B for ; Sun, 14 Nov 2010 20:57:27 +0000 (UTC) Received: from macfeast.lan (0x573b9942.cpe.ge-1-2-0-1101.ronqu1.customer.tele.dk [87.59.153.66]) by csmtp1.one.com (Postfix) with ESMTP id 313D11BC00A32; Sun, 14 Nov 2010 20:57:26 +0000 (UTC) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: multipart/signed; boundary=Apple-Mail-2090-75917089; protocol="application/pkcs7-signature"; micalg=sha1 From: Erik Cederstrand In-Reply-To: <4CE04750.8060802@FreeBSD.org> Date: Sun, 14 Nov 2010 21:57:25 +0100 Message-Id: <1B779A27-D8AD-4479-AC43-7F5557B720D4@cederstrand.dk> References: <718D8E86-EA2E-4D07-BAFF-5D8D093FD296@cederstrand.dk> <20101011084733.GM2392@deviant.kiev.zoral.com.ua> <95F3B27C-42E6-4267-9965-AC3219310C35@cederstrand.dk> <20101021175748.GD19295@acme.spoerlein.net> <20101022100134.GL19295@acme.spoerlein.net> <8B6E3E35-68AF-42ED-98CF-E2A4448DAA11@cederstrand.dk> <0CF7C325-E7D9-4C51-8E60-9A0243D2FFFE@cederstrand.dk> <4CE04750.8060802@FreeBSD.org> To: Dimitry Andric X-Mailer: Apple Mail (2.1081) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Giorgos Keramidas , =?iso-8859-1?Q?Sp=F6rlein?= , FreeBSD Hackers Subject: Re: Deterministic builds? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2010 20:57:28 -0000 --Apple-Mail-2090-75917089 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Den 14/11/2010 kl. 21.32 skrev Dimitry Andric: > On 2010-11-14 21:22, Erik Cederstrand wrote: >> I'm curious as to why this might be useful? Would the mtime of the >> file not be be sufficient? I can only think of debugging purposes, = but >> apart from the timestamp, two kernels with the same rev. would be >> bitwise identical, >=20 > This does not have to be the case. For example, if you have have = local > modifications, or use different settings in make.conf or src.conf. In this case the timestamp + rev. is not sufficient to reproduce the = kernel anyway. You'd need to store externally the non-standard contents = of conf files, local diffs etc. on all your non-standard builds. You = could do all sorts of fun stuff, even fool the rev. number or timestamp = if you wanted. I'm just saying that for the standard user on a standard GENERIC kernel = (and world for that matter) - the revision number should be sufficient = for e.g. filing a PR. If you need the timestamp, there's the mtime. Erik= --Apple-Mail-2090-75917089--