I have this section in my make.conf that pertains to updating:
Code:
SUP_UPDATE= yes
SUPHOST= cvsup3.us.freebsd.org
SUP= /usr/bin/csup
SUPFILE= /usr/share/examples/cvsup/stable-supfile
PORTSSUPFILE= /usr/share/examples/cvsup/ports-supfile
I also have a cronjob that updates my source and ports trees daily between 2 to 3 AM, and the command the cronjob uses, which I can also use manually in both /usr/ports and /usr/src is:
I also have my kernel configured and src.conf customized as well. I have the following in make.conf as well:
Code:
KERNCONF= STARBOX_KERNEL
This is the sequence for my updating:
Code:
cd /usr/src
make buildworld # I use -j20
make buildkernel
make installkernel
mergemaster -p
make installworld
megemaster
The last three commands are generally done in single user mode.