Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Nov 2010 22:13:34 +0100
From:      =?utf-8?B?U3DDtnJsZWlu?= <uqs@spoerlein.net>
To:        Erik Cederstrand <erik@cederstrand.dk>
Cc:        Giorgos Keramidas <keramida@ceid.upatras.gr>, FreeBSD Hackers <hackers@freebsd.org>, Dimitry Andric <dim@freebsd.org>
Subject:   Re: Deterministic builds?
Message-ID:  <20101114211334.GG64243@acme.spoerlein.net>
In-Reply-To: <1B779A27-D8AD-4479-AC43-7F5557B720D4@cederstrand.dk>
References:  <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> <1B779A27-D8AD-4479-AC43-7F5557B720D4@cederstrand.dk>

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

--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, 14.11.2010 at 21:57:25 +0100, Erik Cederstrand wrote:
>=20
> Den 14/11/2010 kl. 21.32 skrev Dimitry Andric:
>=20
> > 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.
>=20
> In this case the timestamp + rev. is not sufficient to reproduce the kern=
el 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.
>=20
> 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=
=2Eg. filing a PR. If you need the timestamp, there's the mtime.

It might not be very easy, going from revision to timestamp. It is still
very useful to know the rough timeframe when a kernel was built, as that
might give you the "age" of the source tree. This is of course not a
very good mapping, and the reason we have both the revision number in
there, but also something a human understands.

If this timestamp must be fixed, my vote would be on using the timestamp
of the svn revision the build was using as a source. But it should be
made clear, that this is then no longer the built timestamp, but the
source repo timestamp.

Uli

--ew6BAiZeqk4r7MaW
Content-Type: application/x-pkcs7-signature
Content-Disposition: attachment; filename="smime.p7s"
Content-Transfer-Encoding: base64

MIIPCQYJKoZIhvcNAQcCoIIO+jCCDvYCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3DQEHAaCC
DHUwggUwMIIDGKADAgECAgMInfMwDQYJKoZIhvcNAQEFBQAweTEQMA4GA1UEChMHUm9vdCBD
QTEeMBwGA1UECxMVaHR0cDovL3d3dy5jYWNlcnQub3JnMSIwIAYDVQQDExlDQSBDZXJ0IFNp
Z25pbmcgQXV0aG9yaXR5MSEwHwYJKoZIhvcNAQkBFhJzdXBwb3J0QGNhY2VydC5vcmcwHhcN
MTAwNTA4MjEyNjUwWhcNMTIwNTA3MjEyNjUwWjA8MRgwFgYDVQQDFA9VbHJpY2ggU3D2cmxl
aW4xIDAeBgkqhkiG9w0BCQEWEXVxc0BzcG9lcmxlaW4ubmV0MIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEAueVoTQDswlZczHBpS954Fl+D3Lzv/iYroev/X5062gfN3A8IsFcM
Jpc/BErc7prdFzPoDjlprvMyA60MRT1I9YYqgjFnxH7tUV95Z42XgcVvtpL6u5A8O0029Ob/
RTXFuvXywFGfVKdHsoDimkUmviqXveJxjlHqhNDLiN1/lwIpyTZ63s+wTn/jrxVznwUHK+mG
Clp7KbGh4n0X9zK/hFmSfLazjsg94HDT7D8S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MNEH0hQC5FLE2TJiS8G9FYTDNyT4SAwBE2IqWwsAgda15Vspk2B6429EL4nX6/mPkvs
XoY7IsxbANFby3u+fjjOhhSYPNYrpZx7G5xvz40/A1BjH/jU4NlaHr0irseNagWO02eDwnq6
UVR/irA2ltJyIgkFIriWgB8ae2lx37xkjIulTl2I2clpmQlENckfk6nzIhRMnl2LK9pDscWa
bFZY6xlHiA2zRtChwKPeJa6dlA==

--ew6BAiZeqk4r7MaW--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101114211334.GG64243>