Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 19:08:50 +0000
From:      Josef Karthauser <joe@tao.org.uk>
To:        Nate Williams <nate@yogotech.com>, Sheldon Hearn <sheldonh@starjuice.net>, Terry Lambert <tlambert2@mindspring.com>, arch@FreeBSD.ORG
Subject:   Re: Adding support for a global src tree serial number
Message-ID:  <20020131190850.D85753@genius.tao.org.uk>
In-Reply-To: <20020131185100.GA61302@gattaca.yadt.co.uk>; from davidt@yadt.co.uk on Thu, Jan 31, 2002 at 06:51:00PM %2B0000
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>

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

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




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