buildworld from FreeBSD 8.1 to FreeBSD 8.2
freebsd at edvax.de
Mon Jul 11 16:15:04 UTC 2011
On Mon, 11 Jul 2011 15:53:33 +0100, krad wrote:
> world should be done after the kernel and there should be a reboot inbetween
> the two as well. Also what about mergemaster?
There's a nice summary of steps in the comment section of /usr/src/Makefile.
# For individuals wanting to upgrade their sources (even if only a
# delta of a few days):
# 1. `cd /usr/src' (or to the directory containing your source tree).
# 2. `make buildworld'
# 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
# 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
# [steps 3. & 4. can be combined by using the "kernel" target]
# 5. `reboot' (in single user mode: boot -s from the loader prompt).
# 6. `mergemaster -p'
# 7. `make installworld'
# 8. `make delete-old'
# 9. `mergemaster' (you may wish to use -U or -ai).
# 10. `reboot'
# 11. `make delete-old-libs' (in case no 3rd party program uses them anymore)
# See src/UPDATING `COMMON ITEMS' for more complete information.
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions