So the spanking new freebsd-update doesn't work for sparc systems... boo. Have to do everything manually. Here's what I remember. Let me know if I forgot something, or its wrong.(very likely)

Install cvsup:

# cd /usr/ports/net/cvsup-without-gui/
# make install

install fastest cvsup:

# cd /usr/ports/sysutils/fastest_cvsup/
# make install
# fastest_cvsup -c us

Replace "us" with your country if it's different. copy the default supfile to our own before editing.

# cp /usr/share/examples/cvsup/stable-supfile /etc/stable-supfile
# cp /usr/share/examples/cvsup/ports-supfile /etc/ports-supfile

edit both of them and change the

*default host=

to the fastest cvsup server from the "fastest cvsup"

then update the ports

# cvsup -L2 -g /etc/ports-supfile
# cvsup -L2 -g /etc/stable-supfile

Then i guess we try to build the world. see if something breaky.

# cd /usr/src
# make buildworld

Recompiled kernel. I have my own kernel called "MYSPARC2". Yours might just be "GENERIC"

# cd /usr/src
# make buildkernel KERNCONF=MYSPARC2
# make installkernel KERNCONF=MYSPARC2

rebooted into single user mode then:

# mount -u /
# mount -a -t ufs
# swapon -a

Now you are ready to install the new world.

# cd /usr/src
# make installworld

After that was done, mergemaster to update your configs:

mergemaster -v

Then used portmaster to upgrade all of the ports.

# portmaster -a

Basically everything i know about BSD comes from or stems from something I've read at freebsdmadeeasy.com

source: http://www.freebsdmadeeasy.com/tutorials/freebsd/updating-freebsd-with-cvsup.php


Comments

comments powered by Disqus