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)
Tue, Nov 11, 11:51 PM
Unknown Object (File)
Mon, Nov 10, 12:07 PM
Unknown Object (File)
Sun, Nov 9, 12:20 AM
Unknown Object (File)
Mon, Nov 3, 4:41 PM
Unknown Object (File)
Mon, Nov 3, 4:40 PM
Unknown Object (File)
Sun, Nov 2, 4:44 PM
Unknown Object (File)
Wed, Oct 29, 5:16 PM
Unknown Object (File)
Tue, Oct 28, 2:28 PM
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.