aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_umapfs/(public-mirror)
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2025-10-19 00:27:07 +0000
committerColin Percival <cperciva@FreeBSD.org>2025-10-19 16:21:56 +0000
commit012014403bdcb2b3aa7ed3895079a0059204c35f (patch)
tree95883d9c93756b94bf9ea7359de4a95b03a6eca1 /sbin/mount_umapfs/(public-mirror)
parentbcdef9d68a2103d78bb335d10bc5a68bf8dfb1aa (diff)
vmimage.subr: Fix when/where we fix up METALOGHEADmain
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 'sbin/mount_umapfs/(public-mirror)')
0 files changed, 0 insertions, 0 deletions