"etcupdate -p" vs. $OLDTREE?

From: David Wolfskill <david_at_catwhisker.org>
Date: Fri, 23 Apr 2021 04:09:48 -0700
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
-- 
David H. Wolfskill                              david_at_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.

Received on Fri Apr 23 2021 - 09:09:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:28 UTC