From 115a84d6518c26800aee8b3d440a50d194a43296 Mon Sep 17 00:00:00 2001 From: Jim Mock Date: Wed, 26 Jul 2000 17:38:14 +0000 Subject: [PATCH] Let it be known that it is not always necessary to build world before building a kernel. PR: 20191 Submitted by: Dan Langille Expanded on by: Eric Ogren --- .../books/handbook/kernelconfig/chapter.sgml | 28 ++++++++++++++++--- .../books/handbook/kernelconfig/chapter.sgml | 28 ++++++++++++++++--- 2 files changed, 48 insertions(+), 8 deletions(-) diff --git a/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.sgml b/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.sgml index e0dcc9c95e..55d7756e51 100644 --- a/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/kernelconfig/chapter.sgml @@ -1,7 +1,7 @@ @@ -160,14 +160,34 @@ &prompt.root; make &prompt.root; make install - For FreeBSD 4.x or later (or upgrading from FreeBSD 3.x to - FreeBSD 4.x or higher), use the following commands (be sure you - have built world before!): + If you have just upgraded to a newer version of 4.X or + higher (ie from 3.X to 4.0-STABLE, or even from 4.0-STABLE to a + later version of 4.0-STABLE), make sure you have built world, and then run the + following commands: &prompt.root; cd /usr/src &prompt.root; make buildkernel KERNEL=MYKERNEL &prompt.root; make installkernel KERNEL=MYKERNEL + If you have not upgraded your source + tree in any way (you have not run CVSup, + CTM, or used + anoncvs, then you should use the + config, make depend, + make, make install sequence. + + + 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! + + The new kernel will be copied to the root directory as /kernel and the old kernel will be moved to /kernel.old. Now, shutdown the system and diff --git a/en_US.ISO_8859-1/books/handbook/kernelconfig/chapter.sgml b/en_US.ISO_8859-1/books/handbook/kernelconfig/chapter.sgml index e0dcc9c95e..55d7756e51 100644 --- a/en_US.ISO_8859-1/books/handbook/kernelconfig/chapter.sgml +++ b/en_US.ISO_8859-1/books/handbook/kernelconfig/chapter.sgml @@ -1,7 +1,7 @@ @@ -160,14 +160,34 @@ &prompt.root; make &prompt.root; make install - For FreeBSD 4.x or later (or upgrading from FreeBSD 3.x to - FreeBSD 4.x or higher), use the following commands (be sure you - have built world before!): + If you have just upgraded to a newer version of 4.X or + higher (ie from 3.X to 4.0-STABLE, or even from 4.0-STABLE to a + later version of 4.0-STABLE), make sure you have built world, and then run the + following commands: &prompt.root; cd /usr/src &prompt.root; make buildkernel KERNEL=MYKERNEL &prompt.root; make installkernel KERNEL=MYKERNEL + If you have not upgraded your source + tree in any way (you have not run CVSup, + CTM, or used + anoncvs, then you should use the + config, make depend, + make, make install sequence. + + + 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! + + The new kernel will be copied to the root directory as /kernel and the old kernel will be moved to /kernel.old. Now, shutdown the system and