Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2021 04:09:48 -0700
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Subject:   "etcupdate -p" vs. $OLDTREE?
Message-ID:  <YIKq/DWSiMqt0iNp@albert.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--U9NiIe5AFv580vNM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

After the set of updates to etcupdate (main-n246232-0611aec3cf3a ..
main-n246235-ba30215ae0ef), I find that "etcupdate -B -p" is working as
expected, but after the following "make installworld", a subsequent
"etcupdate -B" chugs along for a bit, then stops, whining:

No previous tree to compare against, a sane comparison is not possible.

and inspection of the $WORKDIR before:

freebeast(14.0-C)[1] ls -lT /var/db/s4/etcupdate/
total 260
-rw-r--r--  1 root  wheel       0 Apr 22 05:17:54 2021 added.files
-rw-r--r--  1 root  wheel    8556 Apr 22 05:17:54 2021 both.files
drwxr-xr-x  2 root  wheel     512 Apr 22 05:17:54 2021 conflicts
drwxr-xr-x  7 root  wheel     512 Apr 22 05:17:54 2021 current
-rw-r--r--  1 root  wheel  212793 Apr 22 05:17:54 2021 log
-rw-r--r--  1 root  wheel    8556 Apr 22 05:17:54 2021 new.files
drwxr-xr-x  7 root  wheel     512 Apr 22 05:15:33 2021 old
-rw-r--r--  1 root  wheel    8556 Apr 22 05:17:54 2021 old.files
drwxr-xr-x  4 root  wheel     512 Apr 22 04:03:20 2021 preworld
-rw-r--r--  1 root  wheel       0 Apr 22 05:17:54 2021 removed.files

and after (the "make installworld"):

freebeast(14.0-C)[2] ls -lT /var/db/s4/etcupdate/
total 36
-rw-r--r--  1 root  wheel     0 Apr 23 03:53:41 2021 added.files
-rw-r--r--  1 root  wheel    36 Apr 23 03:53:41 2021 both.files
drwxr-xr-x  2 root  wheel   512 Apr 23 03:53:41 2021 conflicts
-rw-r--r--  1 root  wheel   198 Apr 23 03:53:41 2021 log
-rw-r--r--  1 root  wheel    36 Apr 23 03:53:41 2021 new.files
drwxr-xr-x  7 root  wheel   512 Apr 22 05:15:33 2021 old
-rw-r--r--  1 root  wheel  8556 Apr 23 03:53:41 2021 old.files
drwxr-xr-x  5 root  wheel   512 Apr 23 03:53:41 2021 preworld
-rw-r--r--  1 root  wheel     0 Apr 23 03:53:41 2021 removed.files

shows the lack of a "current" subdirectory.

After invoking "etcupdate extract", then "etcupdate -B":

freebeast(14.0-C)[3] ls -lT /var/db/s4/etcupdate/
total 260
-rw-r--r--  1 root  wheel       0 Apr 23 03:58:59 2021 added.files
-rw-r--r--  1 root  wheel    8556 Apr 23 03:58:59 2021 both.files
drwxr-xr-x  2 root  wheel     512 Apr 23 03:58:59 2021 conflicts
drwxr-xr-x  7 root  wheel     512 Apr 23 03:58:59 2021 current
-rw-r--r--  1 root  wheel  212793 Apr 23 03:59:00 2021 log
-rw-r--r--  1 root  wheel    8556 Apr 23 03:58:59 2021 new.files
drwxr-xr-x  7 root  wheel     512 Apr 23 03:57:58 2021 old
-rw-r--r--  1 root  wheel    8556 Apr 23 03:58:59 2021 old.files
drwxr-xr-x  5 root  wheel     512 Apr 23 03:53:41 2021 preworld
-rw-r--r--  1 root  wheel       0 Apr 23 03:58:59 2021 removed.files


Am I missing something?

Thanks!

Peace,
david
--=20
David H. Wolfskill                              david@catwhisker.org
The same folks who champion the "rights" of corporations to influence
elections by money (as an exercise of free speech) are now also decrying
corporations' speaking out against voter suppression laws...?  Right.

See https://www.catwhisker.org/~david/publickey.gpg for my public key.

--U9NiIe5AFv580vNM
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEE4owz2QxMJyaxAefyQLJg+bY2PckFAmCCqvxfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUy
OEMzM0Q5MEM0QzI3MjZCMTAxRTdGMjQwQjI2MEY5QjYzNjNEQzkACgkQQLJg+bY2
PcmDPAf+KoAFSO65rW266Bjw3sSV568fUhtFi3EFHtZGdLegTk+q9q2lrSHw/x11
558cVD33GaCtgik+5jUT8Bts7tC8AxKPWwXaYOlfuOAUnLCWAGCddJGEQppYcx+J
JOvDumhXt1g+8Oa+W8J9bE9O5CbrUxJaSfg2iXzKQl2fqyrqbSp6wP4OTObQh9Bx
mzGCPNXqMk/d7eFr8vM3LSeWMd4hl5oaLy9gXgJGHTvWntSFj4+96DzQRdyPsOxx
SKG8aSuHJ2Mh56S7/gb9gh/f1A4jFUhyME2FqoZyBAzsnjCVYqFVVgu9895EaNrD
oXmLekFVtNIMUTIk6njTsWgeziRiIg==
=z3ZY
-----END PGP SIGNATURE-----

--U9NiIe5AFv580vNM--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YIKq/DWSiMqt0iNp>