diff options
| author | Colin Percival <cperciva@FreeBSD.org> | 2026-09-02 16:37:58 +0000 |
|---|---|---|
| committer | Colin Percival <cperciva@FreeBSD.org> | 2026-09-09 00:30:45 +0000 |
| commit | 35c935b4b370d26dd13821a5456b1014426e7344 (patch) | |
| tree | cac4a9b156a3576849abee18230d087417c6ff00 /sys/dev | |
| parent | e0a8be177171b3acad8a618885781e251a8277c2 (diff) | |
vmimage.subr: Use makefs -Nstable/14
By default, makefs uses the host environment's user and group databases
when creating filesystems. This causes makefs to fail when trying to
create files owned by users or groups which don't exist in the host
environment, for example when creating a VM with packages pre-installed
which added their own users/groups.
Pass "-N ${DESTDIR}/etc" to makefs to point it at the user and group
databases from the image being created.
MFC after: 1 week
Sponsored by: Amazon
(cherry picked from commit 7ca0c1eba2e4c49ac92499ef0f6adf27c8b930d4)
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions
