**************************************************UPGRADING YOUR OPENBSD ZAURUS VIA CVS**************************************************If you haven't previously checked out /usr/src or /usr/ports then
STOP and do so before continuing.
# cd /usr
# cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs checkout -P src
# cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs checkout -P ports
Use CVS to download the latest source and ports collectionThis process updates the sources you have previously checked out! If you just checked them out then you can skip this step!
# cd /usr/src
# cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs up -Pd
# cd /usr/ports
# cvs -d anoncvs@anoncvs.ca.openbsd.org:/cvs up -Pd
Required pre-build processes # make -k cleandir
# rm -rf /usr/obj/*
# make obj
# cd /usr/src/etc/mtree
# install -c -o root -g wheel -m 660 special /etc/mtree
# install -c -o root -g wheel -m 444 4.4BSD.dist /etc/mtree
# mtree -qdef /etc/mtree/4.4BSD.dist -p / -u
# cd /usr/src/etc
# env DESTDIR=/ make distrib-dirs
Build and Install the new Kernel# cd /usr/src/sys/arch/zaurus/conf/
# config GENERIC
# cd ../compile/GENERIC
# make clean && make depend && make
# make install
# reboot
or# cp /bsd /bsd.old
# cp bsd /bsd
# chown root:wheel /bsd
# reboot
Build and Install the new System# cd /usr/src/
# make build
# cd /dev
# cp /usr/src/etc/etc.zaurus/MAKEDEV ./
# ./MAKEDEV all
# cd /usr/src/usr.sbin/httpd
# make -f Makefile.bsd-wrapper distribution
Build and Install mergemaster to merge any changes in the new files with the old# cd /usr/ports/sysutils/mergemaster
# make install clean
# /usr/local/sbin/mergemaster
# reboot
Most of this information can be found here:
http://www.openbsd.org/faq/faq5.html