diff options
author | Colin Percival <cperciva@FreeBSD.org> | 2025-10-19 00:27:07 +0000 |
---|---|---|
committer | Colin Percival <cperciva@FreeBSD.org> | 2025-10-19 16:21:56 +0000 |
commit | 012014403bdcb2b3aa7ed3895079a0059204c35f (patch) | |
tree | 95883d9c93756b94bf9ea7359de4a95b03a6eca1 /sys/dev/qlnx | |
parent | bcdef9d68a2103d78bb335d10bc5a68bf8dfb1aa (diff) |
We only need to check for unMETALOGed directories and sort the METALOG
file if we're using it, i.e. if we're doing a NO_ROOT build. This
non-NO_ROOT builds by no longer bogusly writing to /METALOG*.
We only need to add databases (spwd.db etc) to METALOG if we're doing
a pkgbase-enabled NO_ROOT build; but we should always do this before
creating the filesystem, not only if we installed extra packages (in
vm_extra_install_packages, where that code was erroneously placed).
This fixes non-cloud VM images, which in 15.0-BETA2 shipped without
password databases.
Reviewed by: ivy
MFC after: 3 days
Sponsored by: https://www.patreon.com/cperciva
Differential Revision: https://reviews.freebsd.org/D53194
Diffstat (limited to 'sys/dev/qlnx')
0 files changed, 0 insertions, 0 deletions