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



Reply via email to