Ayoi's: NetBSD 3.1-RC3 amd64


Ayoi's

I dunno why the hell I have this blog

NetBSD 3.1-RC3 amd64

Updated my NetBSD src. Simple exercise actually. Updated my pkgsrc earlier (Dun ask me why) and those need to be updated again. Duh!.


Anyway most of us know how to update the src/ports on FreeBSD but few on NetBSD (or I am the only lame one who left out?). Below are the steps need to be taken. (I've collected these from netbsd guide, websites and forums. Kudos to those fellas-If these is your guide then pls let me know so I can give proper credit here. Thanks)


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

Subsequent updates:
1). setenv CVSROOT anoncvs@anoncvs.netbsd.org:/cvsroot
2). setenv CVS_RSH ssh
3). cd /usr
4). cvs update -dP src #For current src/xsrc/pkgsrc use -A. e.g cvs update -A -dp src/xsrc/pkgsrc
5). cvs update -dP pkgsrc
6). *cvs update -dP xsrc
7). rm -r /usr/obj/*
8). cd /usr/src
9). ./build.sh -T
10). cd /usr/src/sys/arch/amd64/conf #Choose your architechture correctly aaa
11). config YOURKERNEL
12). cd ../compile/YOURKERNEL
13). make dependall install
14). reboot
15). cd /usr/src
16) ./build.sh distribution
17). **cd /usr/pkgsrc/pkgtools/pkg_install
18). make update
19). *cd /usr/xsrc
20). *make build
21). etcupdate
22). **pkg_chk -us

* If u have xsrc
** optional but very usefull in determining which pkg need to be updated
There you are. Hopefully this can assist you. WElcome to netbsd tho. :D
« Home | Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »
| Next »