Web blog.fakap.net

Updating NetBSD

Wednesday, September 20, 2006, posted by ~ayoi~


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 -P src #Release = netbsd-3-0-RELEASE or netbsd-3-0-1-RELEASE
#Stable = netbsd3
#Current = Replace with -A (cvs checkout -A -P src)

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 -P xsrc # same options as src for RELEASE, stable and current.
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

Share your thoughts about this blog, contact us now!
We are open for Link Exchange, submit your website to increase exposure.

 

Comments

Blogger mypapit said...

very informative encik ayoi, keep up the good work!

Commented @ September 20, 2006 2:22 PM  

Post a Comment



Archives