
Ok guys, as many of us know how to update our own FreeBSD, but only few guides on how to update your netbsd. Well I've stumbled few guides from websites, forums and others. So here're the compiled, simple way how to update your beloved netbsd..
p/s: For those who feels that I've taken their guides/posting please let me know so I can give proper credit to you. :D
Initial checkout:
1). setenv CVSROOT anoncvs@anoncvs.netbsd.org:/cvsroot
2). setenv CVS_RSH ssh
3). cd /usr
4). cvs checkout -r
#Stable = netbsd3
#Current = Replace
5). cvs log Makefile | grep pkgsrc-`date +%Y`Q. # To know pkgsrc branches for the current year.
6). cvs checkout -r <200xQy> -P pkgsrc #Where x=year y=quater. For Quater 2 2006 = 2006Q2
# for current = cvs checkout -A -P pkgsrc
7). *cvs checkout -r
8). mkdir /usr/obj
9). cd /usr/src
10). ./build.sh -T (for older version -t)
11). cd /usr/src/sys/arch/amd64/conf # Choose ur architecture correctly aaa..
12). config MYKERNEL
13). cd ../compile/MYKERNEL
14). make dependall install #I recommend you to back up your workable kernel 1st.
15). reboot
16). cd /usr/src
17). ./build.sh distribution
18). **cd /usr/pkgsrc/pkgtools/pkg_install
19). **make install
20). *cd /usr/xsrc
21). *make build
22). etcupdate <-- mergemaster in FreeBSD
23). **cd /usr/pkgsrc/pgktools/pkgchk
24). **make install clean
You can read more here
Comments
very informative encik ayoi, keep up the good work!
Post a Comment