Bem, eu uso esse guia a mais de 4 anos, para atualização em firewalls remotos, e nunca me deixou na mão...
Install new kernel:
export RELEASEPATH=/openbsd/4.4
cd ${RELEASEPATH}
rm /obsd ; ln /bsd /obsd && cp bsd /nbsd && mv /nbsd /bsd
cp bsd.rd bsd.mp /
Install new /etc/firmware files and /sbin/ifconfig utility:
tar -C / -xzphf ${RELEASEPATH}/base44.tgz ./etc/firmware ./sbin/ifconfig
Reboot on the new kernel:
Install new userland applications.
export RELEASEPATH=/openbsd/4.4
cd ${RELEASEPATH}
tar -C / -xzphf base44.tgz
tar -C / -xzphf comp44.tgz
tar -C / -xzphf game44.tgz
tar -C / -xzphf man44.tgz
tar -C / -xzphf misc44.tgz
tar -C / -xzphf xbase44.tgz
tar -C / -xzphf xfont44.tgz
tar -C / -xzphf xserv44.tgz
tar -C / -xzphf xshare44.tgz
Upgrade /dev.
cd /dev
./MAKEDEV all
Upgrade /etc as below:
cd ${RELEASEPATH}
[ -d /tmp/newroot ] && rm -rf /tmp/newroot
mkdir /tmp/newroot
tar -C /tmp/newroot -xzpf etc44.tgz
tar -C /tmp/newroot -xzpf xetc44.tgz
mergemaster -r -t /tmp/newroot
newaliases
mtree -qdef /etc/mtree/4.4BSD.dist -p / -u
reboot
Colocar o link favorito abaixo:
export PKG_PATH=
pkg_add -ui -F update -F updatedepends
Nenhum comentário:
Postar um comentário