make buildworld 16:30 -
実家に向かう時にスタートしたけど、まだ終わっていない.
freebsd handbook より
23.5. Updating FreeBSD from Source
To update your system, you should check /usr/src/UPDATING for any pre-buildworld steps necessary for your version of the sources and then use the following procedure:
# make buildworld # make buildkernel # make installkernel # reboot
After installkernel finishes successfully, you should boot in single user mode (i.e. using boot -s from the loader prompt). Then run:
# mergemaster -p # make installworld # mergemaster # reboot
8.5. Building and Installing a Custom Kernel
Procedure 1. Building a Kernel the “Traditional” Way
Run config(8) to generate the kernel source code.
# /usr/sbin/config MYKERNELChange into the build directory. config(8) will print the name of this directory after being run as above.
# cd ../compile/MYKERNELFor FreeBSD versions prior to 5.0, use the following form instead:
# cd ../../compile/MYKERNELCompile the kernel.
# make depend # makeInstall the new kernel.
# make installProcedure 2. Building a Kernel the “New” Way
Change to the /usr/src directory.
# cd /usr/srcCompile the kernel.
# make buildkernel KERNCONF=MYKERNELInstall the new kernel.
# make installkernel KERNCONF=MYKERNEL
さて、ここで以下の二つの使い分けが不明なのだ.
make buildkernel KERNCONF=MYKERNEL && make installkernel
と
make kernel KERNCONF=MYKERNEL
make kernel だと、kernel のインストールまでされてしまう?