Page MenuHomeFreeBSD

vmimage.subr: Add missing directories to METALOG
ClosedPublic

Authored by cperciva on Fri, Oct 17, 7:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 20, 4:14 PM
Unknown Object (File)
Mon, Oct 20, 4:14 PM
Unknown Object (File)
Mon, Oct 20, 4:14 PM
Unknown Object (File)
Mon, Oct 20, 2:20 AM
Unknown Object (File)
Fri, Oct 17, 4:40 PM
Unknown Object (File)
Fri, Oct 17, 4:38 PM
Unknown Object (File)
Fri, Oct 17, 10:01 AM
Unknown Object (File)
Fri, Oct 17, 9:35 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.Fri, Oct 17, 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.