kernel && SVN rev. number in 'uname -a'

From: Matthias Apitz <guru_at_unixarea.de>
Date: Mon, 12 Oct 2009 14:03:52 +0200
Hello,

I've build a kernel based on SVN checkout of head and compiled/installed
the kernel with:

# cd /usr
# rm -rf src
# svn co svn://....
# cd /usr/src
# make buildkernel KERNCONF=GENERIC
# make installkernel KERNCONF=GENERIC
# shutdown -r now

the booting kernel says:

$ uname -a
FreeBSD vm-azul.Sisis.de 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r197801: Mon
Oct 12 13:33:32 CEST 2009 guru_at_vm-azul.Sisis.de:/usr/obj/usr/src/sys/GENERIC  i386

i.e. does contain the SVN rev. number r197801, so far so good: when I
now move the /usr/src to some other machine with:

# cd /usr
# tar cf src.tar src
...
# cd /usr
# rm -rf src
# tar --unlink -xpf src.tar

and build the kernel there exact the same way as on the originating
machine, the output of 'uname -a' does not contain the SVN revision
number. Any idea why is that? Thanks

	matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru_at_unixarea.de> - w http://www.unixarea.de/
Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu
Received on Mon Oct 12 2009 - 10:03:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:56 UTC