Ezjail host source upgrade: Difference between revisions
From TykWiki
Jump to navigationJump to search
(Created page with "update world: # csup -L 2 /etc/stable-supfile && make -j8 buildworld && make -j8 buildkernel && make installkernel && reboot # mergemaster -pFUi && make installworld && mergem...") |
(No difference)
|
Revision as of 12:11, 2 June 2012
update world:
- csup -L 2 /etc/stable-supfile && make -j8 buildworld && make -j8 buildkernel && make installkernel && reboot
- mergemaster -pFUi && make installworld && mergemaster -FUi && reboot
- ezjail-admin update -i
- sudo rm /usr/jails/newjail/etc/make.conf
run mergemaster in all jails (as root):
- for jail in `jls -n jid`; do JID=`echo $jail | cut -d "=" -f 2`; echo Processing jail id $JID; JPATH=`jls -j $JID -n path`; JPATH=`echo $JPATH | cut -d "=" -f 2`; mount_nullfs /usr/src $JPATH/usr/src; mount_nullfs /usr/obj $JPATH/usr/obj; jexec $JID mergemaster -FUi; umount $JPATH/usr/src; umount $JPATH/usr/obj; done