From owner-freebsd-current@FreeBSD.ORG Mon Oct 12 12:03:55 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19D301065698 for ; Mon, 12 Oct 2009 12:03:55 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id CE1C78FC14 for ; Mon, 12 Oct 2009 12:03:54 +0000 (UTC) Received: from current.Sisis.de (cazador.sisis.de [193.31.11.193]) by dd12710.kasserver.com (Postfix) with ESMTP id A278F1866D82B for ; Mon, 12 Oct 2009 14:03:55 +0200 (CEST) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id n9CC3rh9003757 for freebsd-current@freebsd.org; Mon, 12 Oct 2009 14:03:53 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Mon, 12 Oct 2009 14:03:52 +0200 From: Matthias Apitz To: freebsd-current@freebsd.org Message-ID: <20091012120352.GA3722@current.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) Subject: kernel && SVN rev. number in 'uname -a' X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2009 12:03:55 -0000 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@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 - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu