Date: Wed, 9 Aug 2023 12:40:31 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: Kevin Oberman <rkoberman@gmail.com>, Matthias Apitz <guru@unixarea.de>, freebsd-current@freebsd.org Subject: Re: Has the update procedure changed? Message-ID: <3f8ab464-c9c9-b637-5cc6-c14f25f055b0@quip.cz> In-Reply-To: <CAN6yY1tFAxofH1JfkwfAZGuZ96BcvHHErS=64jWFr2E1zMha6w@mail.gmail.com> References: <CAN6yY1tiq4XQT_apnLo_aDgoMPEZ%2BZ4PfB8uqfMw3PeJbMGMqw@mail.gmail.com> <7A0E604D-EF40-4F10-B597-F1F076507192@gmail.com> <CAN6yY1teCLbtaN6V-fQqa0WTvrbWaOjy%2BB7F=bSq3t0Ue_ROVw@mail.gmail.com> <ZNEXzR0IL7%2BIDShe@c720-r368166> <CAN6yY1tFAxofH1JfkwfAZGuZ96BcvHHErS=64jWFr2E1zMha6w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 09/08/2023 08:22, Kevin Oberman wrote:
> I don't see how you get this from the man page.
> "Compares only files known to be
> essential to the success of {build|install}world, i.e.,
> /etc/group and /etc/master.passwd.
>
> If it is potentially updating files that MIGHT be essential to a
> successful buildworld, running it after buildkernel seems quite wrong.
> At least I read {build|install}world as buildworld or installworld.
Correct me if I am wrong but AFAIK etcupdate -p (or mergemaster -p)
updates entries in [master.]passwd and group which are only needed to
install new files with the right owner and group set, not to build these
files. (installkernel installs everything ass root:wheel)
Also Makefile contains this steps where mergemaster -p should be run
after installkernel and reboot:
2. `make buildworld'
3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC).
[steps 3. & 4. can be combined by using the "kernel" target]
5. `reboot' (in single user mode: boot -s from the loader prompt).
6. `mergemaster -p'
7. `make installworld'
And man page for etcpupdate -p has this:
-p Enable “pre-world” mode. Only merge changes to files
that are necessary to successfully run ‘make
installworld’ or ‘make installkernel
Kind regards
Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3f8ab464-c9c9-b637-5cc6-c14f25f055b0>
