Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2023 01:20:54 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        guru@unixarea.de, Current FreeBSD <freebsd-current@freebsd.org>
Subject:   RE: Has the update procedure changed?
Message-ID:  <9E1458A0-606A-42F5-A867-F6672D4CDEE9@yahoo.com>
References:  <9E1458A0-606A-42F5-A867-F6672D4CDEE9.ref@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
>=20
> # cd /usr/src
> # make installkernel
> # shutdown -r now
>=20
> boot -s from the loader prompt
>=20
> # adjkerntz -i
> # mount -a -t ufs
> # mergemaster -p
> # cd /usr/src
> # make installworld
> # mergemaster
> # yes | make delete-old
> # yes | make delete-old-libs
>=20
> # reboot
>=20
> Now the handbook =
https://docs.freebsd.org/en/books/handbook/cutting-edge/#makeworld
> says only:
>=20
> # cd /usr/src
> # make installkernel
> # shutdown -r now
> # cd /usr/src
> # make installworld
> # shutdown -r now
>=20
> 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=20
check /usr/src/UPDATING=20
# cd /usr/src=20
# make -j4 buildworld=20
# make -j4 kernel=20
# shutdown -r now=20
# etcupdate -p=20
# cd /usr/src=20
# make installworld=20
# etcupdate -B=20
# shutdown -r now     =20

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.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9E1458A0-606A-42F5-A867-F6672D4CDEE9>