Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 1997 15:20:10 -0800 (PST)
From:      Joseph Stein <joes@seaport.net>
To:        andrsn@andrsn.stanford.edu
Cc:        nate@mt.sri.com, rkw@dataplex.net, freebsd-stable@FreeBSD.ORG
Subject:   Re: Version Resolution?
Message-ID:  <199711192320.PAA02638@shasta.wstein.com>
In-Reply-To: <Pine.BSF.3.96.971119123617.2991B-100000@andrsn.stanford.edu> from Annelise Anderson at "Nov 19, 97 01:59:44 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> Anyway, here's what uname -r does for me right now:
> 
> 2.2.5-STABLE-971118
> 
> Perhaps it would be better if it just said 2.2.5-971118.  However, the
> date should somehow or other come with the sources and identify the
> build as based on sources as of a particular date (with time if 
> necessary).  At least that's how it seems to me.

So you make newvers.sh a dynamic file, with some hook or other(tm) built in
to cvsup or whatever method you used -- even something as simple as looking
at /usr/sup/* to get the timestamp from the sup statistics...
to make it look like this:

2.2.5-STABLE-879981548 -- the time value in seconds since epoch.

(okay, that's kind of lame, I admit, but...)

joe



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