Upgrading 12.1 → 12.2
Operating System
- cd /usr/src/sys/arch/conf
- diff GENERIC $KERNCONF > $KERNCONF.diff
- cd /usr/src
- svn sw svn://svn.db.tokushima-u.ac.jp/base/releng/12.2/
- Configure /usr/src/sys/arch/conf/$KERNCONF
- rm -rf /usr/obj
- make buildworld
- make buildkernel
- make installkernel
- reboot
- mergemaster -p
(make pwd_mkdb for ntpd uid:gid)
- make installworld
- mergemaster -iFU
- yes | make delete-old
- reboot
Mail System
- cd /etc/mail
- make install
- newaliases
Ports Collection / User Application
- cd /usr/local/lib/compat/pkg
- (remove old libraries)
- pkg bootstrap -f
- pkg update
- (update ruby-*, portupgrade)
- portupgrade -afc
- Recompile user applications
Operating System
- cd /usr/src
- yes | make delete-old-libs
Miscellaneous
EDB/Java RMI
- cd /usr/local/etc/rc.d/
- cp /home/private/edbjavarmi/rc.d/edbjavarmi .
ZFS
- zpool upgrade -a
- (upgrade boot partitions: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 device)