Skip to content

bootc: supported customizations for composefs - #2730

Merged
achilleas-k merged 1 commit into
osbuild:mainfrom
supakeen:error-for-customizations-for-composefs
Oct 7, 2026
Merged

achilleas-k merged 1 commit into
osbuild:mainfrom
supakeen:error-for-customizations-for-composefs

Conversation

@supakeen

Copy link
Copy Markdown
Member

Currently for composefs we silently allow all customizations. This is confusing because we have guards in the code to drop all customizations as we don't want to touch the filesystem (as its integrity verified through fsverity).

I don't really like doing this this way but I also don't want to introduce separate image types. It shrugs against some deeper design issues.

However, for users its super unclear when passing a blueprint to a sealed image and things just being silently discarded while normally image-builder would've errored.

Currently for composefs we silently allow all customizations. This is
confusing because we have guards in the code to *drop* all
customizations as we don't want to touch the filesystem (as its
integrity verified through `fsverity`).

I don't really *like* doing this this way but I also don't want to
introduce separate image types. It shrugs against some deeper design
issues.

However, for users its super unclear when passing a blueprint to a
sealed image and things just being silently discarded while normally
`image-builder` would've errored.

Signed-off-by: Simon de Vlieger <[email protected]>
@supakeen
supakeen requested a review from a team as a code owner September 30, 2026 16:27

@brlane-rht brlane-rht left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

err. ugh :) Maybe add a TODO so that this can be cleaned up in the future. Also, I am not sure if we have UKI specific docs yet, but this would be a good thing to document there.

@achilleas-k achilleas-k left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah that's not the prettiest but it definitely beats splitting out an image type or something like that. I can't think of a better way to do it right now.

LGTM

@achilleas-k

Copy link
Copy Markdown
Member

err. ugh :) Maybe add a TODO so that this can be cleaned up in the future. Also, I am not sure if we have UKI specific docs yet, but this would be a good thing to document there.

Oh, great idea(s). Yeah, I think (images with) UKIs deserve their own page in our docs.

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.

3 participants