Page MenuHomeFreeBSD

vmimage.subr: Add missing directories to METALOG
ClosedPublic

Authored by cperciva on Oct 17 2025, 7:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 30, 7:38 AM
Unknown Object (File)
Mon, Apr 27, 11:54 PM
Unknown Object (File)
Mon, Apr 27, 6:55 PM
Unknown Object (File)
Mon, Apr 27, 11:35 AM
Unknown Object (File)
Mon, Apr 27, 10:26 AM
Unknown Object (File)
Mon, Apr 27, 6:29 AM
Unknown Object (File)
Fri, Apr 24, 6:55 AM
Unknown Object (File)
Wed, Apr 22, 7:55 AM
Subscribers

Details

Summary

Theoretically METALOG should include everything which needs to go
into disk images; unfortunately there are still a few bugs which
are resulting in directories not being listed -- and if METALOG
has files in unrecorded directories, the directories end up being
created with 000 permissions.

Oddly enough, systems where / has 000 permissions are not very
usable.

As a temporary hack, compare the staging tree against METALOG and
add entries for any unrecorded directories. This will hopefully
be reverted before 15.0-RELEASE.

Sponsored by: https://www.patreon.com/cperciva
MFC after: 5 minutes

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I've tested this with releng/15.0 and it produces usable EC2 AMIs, so I'd like to insta-merge this and start 15.0-BETA2 builds with it about 9 hours from now.

should fix the issues spotted by scaleway people as well

This revision is now accepted and ready to land.Oct 17 2025, 7:11 AM

i notice we don't put / in a package, but i also recall there's some reason this doesn't work. until we can fix that properly, this seems fine.