From owner-freebsd-questions@FreeBSD.ORG Wed May 28 10:25:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3642737B401 for ; Wed, 28 May 2003 10:25:31 -0700 (PDT) Received: from falcon.midgard.homeip.net (h76n3fls20o913.telia.com [213.67.148.76]) by mx1.FreeBSD.org (Postfix) with SMTP id E6BAB43F93 for ; Wed, 28 May 2003 10:25:27 -0700 (PDT) (envelope-from ertr1013@student.uu.se) Received: (qmail 9955 invoked by uid 1001); 28 May 2003 17:25:25 -0000 Date: Wed, 28 May 2003 19:25:25 +0200 From: Erik Trulsson To: Krzysztof Parzyszek Message-ID: <20030528172525.GA7197@falcon.midgard.homeip.net> Mail-Followup-To: Krzysztof Parzyszek , FBSD_User , freebsd-questions@freebsd.org References: <20030528155915.GA72304@antares.student.iastate.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030528155915.GA72304@antares.student.iastate.edu> User-Agent: Mutt/1.5.4i cc: freebsd-questions@freebsd.org Subject: Re: Setting kernel name in buildkernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 17:25:31 -0000 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' -- Erik Trulsson ertr1013@student.uu.se