Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2010 21:57:25 +0100
From:      Erik Cederstrand <erik@cederstrand.dk>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        Giorgos Keramidas <keramida@ceid.upatras.gr>, =?iso-8859-1?Q?Sp=F6rlein?= <uqs@spoerlein.net>, FreeBSD Hackers <hackers@freebsd.org>
Subject:   Re: Deterministic builds?
Message-ID:  <1B779A27-D8AD-4479-AC43-7F5557B720D4@cederstrand.dk>
In-Reply-To: <4CE04750.8060802@FreeBSD.org>
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> <C297DE8F-0842-41C2-A930-A15AA0F3B3BB@cederstrand.dk> <20101022100134.GL19295@acme.spoerlein.net> <8B6E3E35-68AF-42ED-98CF-E2A4448DAA11@cederstrand.dk> <xeia1v6q2t1h.fsf@kobe.laptop> <0CF7C325-E7D9-4C51-8E60-9A0243D2FFFE@cederstrand.dk> <4CE04750.8060802@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1B779A27-D8AD-4479-AC43-7F5557B720D4>