Upgrading 12.2 → 12.3
Operating System
- # cd /usr/src/sys/arch/conf
- /usr/src/sys/arch/conf# diff GENERIC $KERNCONF > $KERNCONF.diff
- # cd /usr/src
- /usr/src# git checkout releng/12.3
- /usr/src# git pull
- Configure /usr/src/sys/arch/conf/$KERNCONF
- /usr/src# rm -rf /usr/obj
- /usr/src# make buildworld
- /usr/src# make buildkernel
- /usr/src# make installkernel
- /usr/src# reboot
- /usr/src# mergemaster -p
- /usr/src# make installworld
- /usr/src# mergemaster -iFU
- /usr/src# yes | make delete-old
- /usr/src# reboot
Mail System
- # cd /etc/mail
- /etc/mail# make install
- /etc/mail# newaliases
Ports Collection / User Application
- # cd /usr/local/lib/compat/pkg
- /usr/local/lib/compat/pkg# (remove old libraries)
- (# pkg bootstrap -f)
- (# pkg update)
- # portupgrade -afc (portupgrade -afcx package)
- Recompile user applications
Operating System
- cd /usr/src
- /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 1or2 device)
(1or2... determine freebsd-boot partition using "# gpart show")