Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2009 12:01:38 +0200
From:      Ruben de Groot <mail25@bzerk.org>
To:        Jason Helfman <jhelfman@e-e.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: kernel compiling questions
Message-ID:  <20090611100138.GA36925@ei.bzerk.org>
In-Reply-To: <20090610001900.GC57804@eggman.experts-exchange.com>
References:  <20090610001900.GC57804@eggman.experts-exchange.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 09, 2009 at 05:19:01PM -0700, Jason Helfman typed:
> Hi.
> 
> I am trying to figure out how when making the kernel that the number is
> incremented.
> 
> For example my system reads:
> FreeBSD 7.2-RELEASE #4
> 
> I have my own kernel that works, however I would like to have it read this:
> FreeBSD 7.2-RELEASE #0
> 
> Is there a way to resolve this?

If you build your kernel (#4) using "make buildkernel":

cd /usr/obj/usr/src/sys/${KERNCONF}
vi vers.c     // edit SCCSSTR and VERSTR
make

cp kernel /boot/kernel

cheers,
Ruben




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