From owner-freebsd-questions Tue Oct 1 13:13:59 2002 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 78BAE37B401 for ; Tue, 1 Oct 2002 13:13:57 -0700 (PDT) Received: from postal3.es.net (postal3.es.net [198.128.3.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9A8F43E4A for ; Tue, 1 Oct 2002 13:13:56 -0700 (PDT) (envelope-from oberman@es.net) Received: from ptavv.es.net ([198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP id MUA74016; Tue, 01 Oct 2002 13:13:55 -0700 Received: from ptavv (localhost [127.0.0.1]) by ptavv.es.net (Postfix) with ESMTP id 5582B5D04; Tue, 1 Oct 2002 13:13:55 -0700 (PDT) To: "Toomas Aas" Cc: "Brian Henning" , questions@freebsd.org Subject: Re: system update In-reply-to: Your message of "Tue, 01 Oct 2002 20:03:28 +0300." <200210011704.g91H4NA07551@lv.raad.tartu.ee> Date: Tue, 01 Oct 2002 13:13:55 -0700 From: "Kevin Oberman" Message-Id: <20021001201355.5582B5D04@ptavv.es.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: "Toomas Aas" > Date: Tue, 1 Oct 2002 20:03:28 +0300 > Sender: owner-freebsd-questions@FreeBSD.ORG > > Hi! > > > the other question i have is what are the differnence between these two > > processes: > > config GENERIC > > cd ../../compile/GENERIC > > make depend; make; make install > > This is what you would do if you want to re-compile the generic kernel. > Since the generic kernel is already on your system, doing that doesn't > make much sense. > > If you need to customize your kernel, it is recommended that you copy > GENERIC to some other file, for instance CUSTOM, make changes to that > file and build new kernel from that instead of GENERIC. > > > as oposed to a the build world process? > > The build world process rebuilds not only the kernel but the entire > operating system. build world? make buildworld builds everything EXCEPT the kernel. I suspect he means setting the current directory to /usr/src and doing a make buildkernel. If this is what was meant, building a new kernel through the use of make(1) in /usr/src is the ONLY officially supported method. It should always be used. On the other hand, manually running config and using the make in the compile/KERNEL directory works fine and, assuming that you are only changing the configuration and not updating any sources, works just as well. I just find a single "make kernel KERNCONF=KERNEL" command easier than the longer run of: make cd ../../compile/KERNEL make depend make make install R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message