Success updating stable/11 to /12; a couple things to note
david at catwhisker.org
Thu Dec 27 16:30:51 UTC 2018
On Thu, Dec 27, 2018 at 09:13:09AM -0700, Ian Lepore wrote:
> On Thu, 2018-12-27 at 05:53 -0800, David Wolfskill wrote:
> > * I found that I actually needed to create the ntpd user on the
> > running system prior to "make installworld" -- having run
> > "mergemaster -U" against the target (DESTDIF) was insufficient.
> The correct update sequence involves running mergemaster twice, once
> with the -p option, then again later without it. It's detailed at the
> bottom of UPDATING. People get in the habit of skipping the -p step
> because it's only really needed once every few years, such as when a
> new user is added to the base system.
> -- Ian
Yes, but the one after "make installworld" isn't likely to affect the
"make installworld". :-)
The sequence of events:
mount -u -r /
mount -u -r /usr
mount /dev/ada0s1a /S1
mount /dev/ada0s1d /S1/usr
mount -u -w /S1
mount -u -w /S1/usr
ln -fhs /var /S1/var
mount -o ro freebeast:/usr/src /usr/src
mount -o ro freebeast:/usr/obj /usr/obj
make LD=ld.lld installkernel DESTDIR=/S1
mergemaster -U -u 0022 -p -D /S1
rm -fr /S1/usr/include.old
mv -f /S1/usr/include /S1/usr/include.old
rm -fr /S1/usr/share/man
make installworld DESTDIR=/S1
mergemaster -F -U -u 0022 -i -D /S1
make delete-old DESTDIR=/S1
My point was that running "mergemaster -U" against the new image (/S1,
in the case above) is not sufficient for "make installworld DESTDIR=/S!"
to work: it is necessary that the *running* system be aware of the
"ntpd" user (I presume, to allow ownership of files to be set by the
"ntpd" name, vs. the numeric "123").
David H. Wolfskill david at catwhisker.org
Beyond some threshold, should presidential lies become impeachable offenses?
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 618 bytes
Desc: not available
More information about the freebsd-stable