Date: 2:30 PM 3/26/2008
Ver: $1.0
Author: Li Feng Shen
Copyrights (c) 2008 All Rights Reserved.
/*
Use on your own risks
*/
1)
# pkg_add -r cvsup-without-gui
# cp /usr/share/examples/cvsup/standard-supfile /root
# vi /root/standard-supfile
*default host=cvsup.cn.FreeBSD.org
*default release=cvs tag=RELENG_7_0
# cvsup -g -L 2 stand-supfile
# cd /usr/src
# make buildworld
# cd /usr/src/sys/i386/conf
# modify you kernel config file add:
device pf
device pflog
device pfsync
to the end
# cd /usr/src && make buildworld
# make buildkernel KERNCONF=MYKERN && make installkernel KERNCONF=MYKERN
# sync && sync && sync && sync && shutdown -r now
# cd /usr/src
# mergemaster -i
# make installworld
# sync && sync && shutdown -r now
2)
Done