Upgrading 12.2 → 12.3

Operating System

  1. # cd /usr/src/sys/arch/conf
  2. /usr/src/sys/arch/conf# diff GENERIC $KERNCONF > $KERNCONF.diff
  3. # cd /usr/src
  4. /usr/src# git checkout releng/12.3
  5. /usr/src# git pull
  6. Configure /usr/src/sys/arch/conf/$KERNCONF
  7. /usr/src# rm -rf /usr/obj
  8. /usr/src# make buildworld
  9. /usr/src# make buildkernel
  10. /usr/src# make installkernel
  11. /usr/src# reboot
  12. /usr/src# mergemaster -p
  13. /usr/src# make installworld
  14. /usr/src# mergemaster -iFU
  15. /usr/src# yes | make delete-old
  16. /usr/src# reboot

Mail System

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

Ports Collection / User Application

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

Operating System

  1. cd /usr/src
  2. /usr/src# 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 1or2 device)
    (1or2... determine freebsd-boot partition using "# gpart show")