"etcupdate -p" vs. $OLDTREE?
David Wolfskill
david at catwhisker.org
Fri Apr 23 11:09:58 UTC 2021
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20210423/93b04e1c/attachment.sig>
More information about the freebsd-current
mailing list