From owner-freebsd-doc Wed Jun 27 9:29:50 2001 Delivered-To: freebsd-doc@freebsd.org Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by hub.freebsd.org (Postfix) with ESMTP id 6509437B406 for ; Wed, 27 Jun 2001 09:29:41 -0700 (PDT) (envelope-from Rahul.Siddharthan@lpt.ens.fr) Received: from corto.lpt.ens.fr (corto.lpt.ens.fr [129.199.122.2]) by nef.ens.fr (8.10.1/1.01.28121999) with ESMTP id f5RGTdp28394 for ; Wed, 27 Jun 2001 18:29:39 +0200 (CEST) Received: from (rsidd@localhost) by corto.lpt.ens.fr (8.9.3/jtpda-5.3.1) id SAA79943 for doc@freebsd.org; Wed, 27 Jun 2001 18:30:44 +0200 (CEST) Date: Wed, 27 Jun 2001 18:30:44 +0200 From: Rahul Siddharthan To: doc@freebsd.org Subject: Handbook: Build world / build kernel Message-ID: <20010627183044.A77365@lpt.ens.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 3.4-STABLE i386 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I find the handbook section http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html a bit confusing. Suppose you have upgraded the sources. In what order do you do the following? o make buildworld o make installworld o make buildkernel o make installkernel The section in question says Warning: If you have upgraded your sources since your last kernel ^^^^^^ build, you must use the make buildkernel method to build your kernel. Otherwise, old utilities will be used to build the kernel, which will probably fail. Do not use the config/make sequence to build your kernel if you have updated the sources! Should that be last *world* build? I mean, what does the old kernel have to do with old utilities being used to build the new kernel? In that case, would the following sequence be correct? o make buildworld o make buildkernel o make installkernel o make installworld o reboot Basically, is it safe to do "make buildkernel" before "make installworld", ie with the old userland? Or do you need to do "make installworld" before "make buildkernel"? If the latter, then while you're doing "make buildkernel", your old kernel is living for a while with your new userland: is that a problem? I'm willing to submit a patch if someone can clear my confusion... R To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message