Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2003 19:25:25 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Krzysztof Parzyszek <kristof@swissmail.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Setting kernel name in buildkernel
Message-ID:  <20030528172525.GA7197@falcon.midgard.homeip.net>
In-Reply-To: <20030528155915.GA72304@antares.student.iastate.edu>
References:  <MIEPLLIBMLEEABPDBIEGCECIDOAA.FBSD_User@a1poweruser.com> <20030528155915.GA72304@antares.student.iastate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 28, 2003 at 10:59:16AM -0500, Krzysztof Parzyszek wrote:
> On Wed, May 28, 2003 at 11:22:21AM -0400, FBSD_User wrote:
> > Copy /kernel to different name, say kernela, and then recompile
> > kernel source containing changes and it will replace /kernel, then
> > copy /kernel to different name, say kernelb.
> 
> [...]
> 
> Thank you, but I must have been not clear enough about not doing
> it manually.  I have done it the way you described and I find it
> annoying.  That's why I asked if there is a more convenient way,
> i.e. a flag to set before buildkernel/installkernel or something
> like that.

Actually there is a way, but it doesn't seem to be documented anywhere
outside of the makefiles and commitlogs:

make buildkernel KERNCONF=MYKERNEL INSTKERNNAME=mykernel
make installkernel KERNCONF=MYKERNEL INSTKERNNAME=mykernel

will build/install a kernel using the name 'mykernel' instead of the
default 'kernel'



-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se



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