RE: Has the update procedure changed?
Date: Sun, 06 Aug 2023 08:20:54 UTC
Matthias Apitz <guru_at_unixarea.de> wrote on Date: Sun, 06 Aug 2023 05:50:36 UTC : > In the past I was used to use the following procedure to install a new > kernel and world: > > # cd /usr/src > # make installkernel > # shutdown -r now > > boot -s from the loader prompt > > # adjkerntz -i > # mount -a -t ufs > # mergemaster -p > # cd /usr/src > # make installworld > # mergemaster > # yes | make delete-old > # yes | make delete-old-libs > > # reboot > > Now the handbook https://docs.freebsd.org/en/books/handbook/cutting-edge/#makeworld > says only: > > # cd /usr/src > # make installkernel > # shutdown -r now > # cd /usr/src > # make installworld > # shutdown -r now > > Has this changed in past two years? https://docs.freebsd.org/en/books/handbook/cutting-edge/#makeworld section 26.6.1 lists: # git pull /usr/src check /usr/src/UPDATING # cd /usr/src # make -j4 buildworld # make -j4 kernel # shutdown -r now # etcupdate -p # cd /usr/src # make installworld # etcupdate -B # shutdown -r now The material in 26.6.5 does not repeat all that, it is more of a summary that is presented. There are also instructions in UPDATING (near the end) and yet other instructions in Makefile (leading comments). I've not done detailed comparisons of such in some time, but they well not be exact matches. As I remember, the UPDATING material was more explicit about various cases/contexts and what was appropriate for them. It can be appropriate to review them all. === Mark Millard marklmi at yahoo.com