From owner-freebsd-arch Thu Jan 31 11: 8:56 2002 Delivered-To: freebsd-arch@freebsd.org Received: from tao.org.uk (genius.tao.org.uk [212.135.162.51]) by hub.freebsd.org (Postfix) with ESMTP id 0E4B037B417 for ; Thu, 31 Jan 2002 11:08:51 -0800 (PST) Received: by tao.org.uk (Postfix, from userid 100) id 3EFDA441; Thu, 31 Jan 2002 19:08:50 +0000 (GMT) Date: Thu, 31 Jan 2002 19:08:50 +0000 From: Josef Karthauser To: Nate Williams , Sheldon Hearn , Terry Lambert , arch@FreeBSD.ORG Subject: Re: Adding support for a global src tree serial number Message-ID: <20020131190850.D85753@genius.tao.org.uk> References: <3C5944A4.4927F812@mindspring.com> <80628.1012484102@axl.seasidesoftware.co.za> <15449.30438.698921.182380@caddis.yogotech.com> <20020131173702.J77899@genius.tao.org.uk> <20020131183321.GA59544@gattaca.yadt.co.uk> <20020131184230.D84715@genius.tao.org.uk> <20020131185100.GA61302@gattaca.yadt.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="9dgjiU4MmWPVapMU" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020131185100.GA61302@gattaca.yadt.co.uk>; from davidt@yadt.co.uk on Thu, Jan 31, 2002 at 06:51:00PM +0000 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --9dgjiU4MmWPVapMU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 31, 2002 at 06:51:00PM +0000, David Taylor wrote: >=20 > As I said above in the part you snipped, I added a PRELOG_SUB which I used > to call 'co -l serno.h', modify serno.h, then call > 'ci -mautomated_serno serno.h'. >=20 > Alternatively, you could make the script alter the ,v file directly and > just call 'co' to try to keep the number of useless diffs down. I'm not > sure if cvs likes just having one revision of a file at revision > 1.9999999 in a ,v file, though. > It's probably worth playing with. I might put some time into seeing how it pans out. The proof is in the implementation. (Feel free to send me your patches to CVSROOT/, but off list). >=20 > Takes ages on my gateway... admittedly a buildworld does too, but I don't > want to add a 'find /usr/src' to my PR info-gathering tasks.. >=20 No, the point of the patch is that this is done for you automatically at kernel build time and the date is built into the version string that you get using 'uname -v'. i.e. it's transparent to the process. Joe --9dgjiU4MmWPVapMU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjxZlkEACgkQXVIcjOaxUBbZiwCdFg9MnAK6Hv3BeWllq6b+rzX4 aGgAoNA8RSAZddo6YT/gfVnYctQR+ad+ =kva+ -----END PGP SIGNATURE----- --9dgjiU4MmWPVapMU-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message