Date: Wed, 27 Jun 2001 18:30:44 +0200 From: Rahul Siddharthan <rsidd@physics.iisc.ernet.in> To: doc@freebsd.org Subject: Handbook: Build world / build kernel Message-ID: <20010627183044.A77365@lpt.ens.fr>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010627183044.A77365>