From owner-freebsd-questions@FreeBSD.ORG Wed Dec 22 10:18:11 2004 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 E7E3716A4CE for ; Wed, 22 Dec 2004 10:18:11 +0000 (GMT) Received: from aiolos.otenet.gr (aiolos.otenet.gr [195.170.0.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0E7243D5E for ; Wed, 22 Dec 2004 10:18:09 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])iBMAI7Zg006088; Wed, 22 Dec 2004 12:18:07 +0200 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) iBMAI7W4000974; Wed, 22 Dec 2004 12:18:07 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)iBMAI7Zr000973; Wed, 22 Dec 2004 12:18:07 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 22 Dec 2004 12:18:07 +0200 From: Giorgos Keramidas To: Zachary Huang Message-ID: <20041222101806.GC861@orion.daedalusnetworks.priv> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: freebsd-questions@freebsd.org Subject: Re: make buildkernel KERNEL or KERNCONF? 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, 22 Dec 2004 10:18:12 -0000 On 2004-12-22 04:07, Zachary Huang wrote: > in the usr/src/UPDATING file with FreeBSD 4.2: > > we have: > > To update from 4.0-RELEASE or later to the most current > 4.x-STABLE > ---------- > make buildworld > make buildkernel KERNEL=YOUR_KERNEL_HERE > make installkernel KERNEL=YOUR_KERNEL_HERE > reboot (in single user) [1] > make installworld > mergemaster > reboot > > whereas in the 4.10 I am getting through cvsup: (notice it is > kernCONF, not KerNEL anymore). > > To update from 4.0-RELEASE or later to the most current > 4.x-STABLE > ---------- > make buildworld > make buildkernel KERNCONF=YOUR_KERNEL_HERE > make installkernel KERNCONF=YOUR_KERNEL_HERE > reboot (in single user) [1] > make installworld > mergemaster [2] > reboot > > I guess I still follow the first one since that is what came with the > 4.2. and I am trying to upgrade from 4.2 to 4.10. Nope. You follow what /usr/src/UPDATING says. The 'buildkernel' process uses the Makefiles and the support make includes from /usr/src as early as possible, so you should be able to use: # cd /usr/src # make buildworld # make KERNCONF=MYKERNEL buildkernel even if you're updating from versions of 4.X that didn't support the KERNCONF make option. - Giorgos