Upgrading 12.1 → 12.2

Operating System

  1. cd /usr/src/sys/arch/conf
  2. diff GENERIC $KERNCONF > $KERNCONF.diff
  3. cd /usr/src
  4. svn sw svn://svn.db.tokushima-u.ac.jp/base/releng/12.2/
  5. Configure /usr/src/sys/arch/conf/$KERNCONF
  6. rm -rf /usr/obj
  7. make buildworld
  8. make buildkernel
  9. make installkernel
  10. reboot
  11. mergemaster -p
    (make pwd_mkdb for ntpd uid:gid)
  12. make installworld
  13. mergemaster -iFU
  14. yes | make delete-old
  15. reboot

Mail System

  1. cd /etc/mail
  2. make install
  3. newaliases

Ports Collection / User Application

  1. cd /usr/local/lib/compat/pkg
  2. (remove old libraries)
  3. pkg bootstrap -f
  4. pkg update
  5. (update ruby-*, portupgrade)
  6. portupgrade -afc
  7. Recompile user applications

Operating System

  1. cd /usr/src
  2. yes | make delete-old-libs

Miscellaneous

EDB/Java RMI

  1. cd /usr/local/etc/rc.d/
  2. cp /home/private/edbjavarmi/rc.d/edbjavarmi .

ZFS

  1. zpool upgrade -a
  2. (upgrade boot partitions: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 device)