Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced partitioning customizations (COMPOSER-2355) #4364

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

achilleas-k
Copy link
Member

Pulling in osbuild/images#926.
Updated customizations conversion and added to conversion tests.

TODO:

  • images PR merged.
  • Integration tests.

Copied from
osbuild/images:pkg/blueprint/filesystem_customizations_test.go

These test features of the filesystem customizations:
- Deserialization
- Mountpoint policy validation

The filesystem customization _might_ be removed from osbuild/images and
osbuild-composer will be responsible for mapping the old customizations
onto the new.  Copying the tests over ensures that if and when we make
this change, the functionality of old format is still tested.
osbuild/images -> achilleas-k/images@more-partitioning

Update boot mode enum: Moved from images/pkg/distro to
images/pkg/platform.
Add the new partitioning configs introduced in osbuild/images to the
internal blueprint.
Due to the deeply nested structure of this new customization, it was
simpler to make small single-purpose conversion functions for each
layer, rather than nesting loops.

Add to tests as well.
@achilleas-k achilleas-k changed the title Advanced partitioning customizations Advanced partitioning customizations (COMPOSER-2355) Sep 17, 2024
Copy link

This PR is stale because it has been open 30 days with no activity. Remove "Stale" label or comment or this will be closed in 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant