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

[-- Attachment #1 --]
On Sun, 14.11.2010 at 21:57:25 +0100, Erik Cederstrand wrote:
> 
> 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,
> > 
> > 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.

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

[-- Attachment #2 --]
0		*H
010	+0	*H
u0000
	*H
0y10U
Root CA10Uhttp://www.cacert.org1"0 UCA Cert Signing Authority1!0	*H
	support@cacert.org0
100508212650Z
120507212650Z0<10UUlrich Sprlein1 0	*H
	uqs@spoerlein.net0"0
	*H
0
hMV\piKx_ܼ&+_:W&?J39i2E=H*1g~Q_ygo<;M6E5źQTGE&*qQˈ)6zϰNs+
Z{)}2Y|=p?)]
Lҿ*ހܫųFH~*7e\bP`4mcLсކ-bb?00U00V	`HB
IGTo get your own certificate for FREE head over to http://www.CAcert.org0@U%907++
+7

+7
	`HB02+&0$0"+0http://ocsp.cacert.org0U0uqs@spoerlein.net0
	*H
)x.:ͬ>L
0>:ڄ>^,ZILI'P wѳ_
S1Lu2:a@A=>
z`-Eݾ@fET?ejVLȋ(t޵`mq`g#hEV"ɣ_Oޯb饊
.=L	IG_!~
N4ʹ!5@VڪcVD5t?%V9ÅPV<0,t|wXtT/Yg$oBV^%J)b@\]Rl(}|5Br)+Jf5@ڸ0A.$ k+uR6IS!Iͯ[QiZB~-
H"b?(֧~܌f)EO{PDG?Zsp&JMAFZ2,ץ~fvmawvߤ0=0%0
	*H
0y10U
Root CA10Uhttp://www.cacert.org1"0 UCA Cert Signing Authority1!0	*H
	support@cacert.org0
030330122949Z
330329122949Z0y10U
Root CA10Uhttp://www.cacert.org1"0 UCA Cert Signing Authority1!0	*H
	support@cacert.org0"0
	*H
0
"F}6(P3@K;f?1k6|Nw6A	Fs`n~XdͰEcg
ҿ>L5]l!ޞ ٺf27rXɎ^>
l[df*zKSy{/
a+~MVڒDAX`efD˔B~ehQWkzr%[ 2H.0B%k?:SHҶ4zX+[8]fɘמtqr`o34v>$zoE8GAJ.	Yתғ}h.݋KX/ꕧTۋQ"þ,x ӊ/?Qe!eE|ALO)!3uQwi"Ṕ1{8h[+~_rLK Wʑu!7c
g>FOp gYͺbA )d)B"xC	QKZZqs00U2Ұ:90U#02Ұ:9ѡ}{0y10U
Root CA10Uhttp://www.cacert.org1"0 UCA Cert Signing Authority1!0	*H
	support@cacert.org0U002U+0)0'%#!https://www.cacert.org/revoke.crl00	`HB#!https://www.cacert.org/revoke.crl04	`HB'%http://www.cacert.org/index.php?id=100V	`HB
IGTo get your own certificate for FREE head over to http://www.cacert.org0
	*H
(\5
ojhX>ÐZ`CpbgX
06;Htq>+h4b@F;S(fSM];`yi;eƁ\MU7paj|.T>O!܂EMs<evj7$NmQďʖmC0e';{CCcCh"{Z>7;N˛͚۲p-JذoEH3<2*T#Gdzqc~/ܟ+H%B>Wiw4
Kʠƌ27hs_QIS6
Ly:u
pg/y=sog/${H5)@`ᖆPzY؏!ς;kV#lH<N/	So.t:c¦D
l$pG.Բ 	d$ܡ5ԼU.}UZ֓v%sLC1\0X00y10U
Root CA10Uhttp://www.cacert.org1"0 UCA Cert Signing Authority1!0	*H
	support@cacert.org0	+0	*H
	1	*H
0	*H
	1
101114211334Z0#	*H
	1Þ1qr*>ɯ70R	*H
	1E0C0
*H
0*H
0
*H
@0+0
*H
(0
	*H
sGgtPsE̚LX&NW_eƤ
(QٌaLc"8:.<1z|&x%/R98DHPKdɉ/Vܓ 0Ml,ZוlM덽'_>K^;"[[{~8Ά<+{oύ?PcZ"ǍjgzQT6r"	"{iq߼dN]i	D5"L]+CŚlVXG
FС%

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