上周,freebsd 官方便从8.1release升级到了8.2release
晚上,我同步了系统的最新源代码到8.2release
- *default host=CHANGE_THIS.FreeBSD.org
- *default base=/var/db
- *default prefix=/usr
- *default release=cvs tag=RELENG_8_1
- *default delete use-rel-suffix
将*default release=cvs tag=RELENG_8_1行修改成
- *default release=cvs tag=RELENG_8_2
然后
- csup -g -L 2 -h cvsup.cn.freebsd.org /usr/share/examples/cvsup/standard-supfile
同步完毕,再次编译系统内核
- #cd /usr/src
- #make buildkernel KERNCONF=your_kernel_name
- #make installkernel KERNCONF=your_kernel_name
重启即可
- root@test[/root]# uname -a
- FreeBSD test.test.local 8.2-RELEASE FreeBSD 8.2-RELEASE #3: Sun Mar 6 20:15:23 CST 2011 root@test.test.local:/usr/obj/usr/src/sys/test i386
本文转自dongfang_09859 51CTO博客,原文链接:http://blog.51cto.com/hellosa/508372,如需转载请自行联系原作者