o Move to recommending the {build,install}kernel targets for updating from

older versions of FreeBSD.
o Continue to document the old way of doing it with a warning stating if that
  doesn't work, to do the {build,install}kernel thing.
o minor wordsmithing on what a make world really is.
This commit is contained in:
imp 2000-08-10 05:14:31 +00:00
parent 5a448b62ba
commit e08c336a49

View File

@ -215,15 +215,27 @@ COMMON ITEMS:
To build a kernel
-----------------
Update config, genassym and go:
config YOUR_KERNEL_HERE [1]
cd ../../compile/YOUR_KERNEL_HERE
make depend && make
make install
[1] If upgrading, add -r won't hurt and sometimes helps.
If you are updating from a prior version of FreeBSD (even one just
a few days old), you should follow this proceedure. With a
/usr/obj tree with a fresh buildworld,
make buildkernel KERNEL=YOUR_KERNEL_HERE
make installkernel KERNEL=YOUR_KERNEL_HERE
To rebuild everything
---------------------
To just build a kernel when you know that it won't mess you up
--------------------------------------------------------------
cd src/sys/{i386,alpha}/conf
config KERNEL_NAME_HERE [1]
cd ../../compile/KERNEL_NAME_HERE
make depend
make
make install
[1] If in doubt, -r might help here.
If this fails, go to the "To build a kernel" section.
To rebuild everything and install it on the current system.
-----------------------------------------------------------
make world
To upgrade from 4.x-stable to current