Skip to content

composefs+UKI: Try to generate image with matching digest - #2353

Draft
cgwalters wants to merge 3 commits into
bootc-dev:mainfrom
cgwalters:composefs-xattr-fallback
Draft

composefs+UKI: Try to generate image with matching digest #2353
cgwalters wants to merge 3 commits into
bootc-dev:mainfrom
cgwalters:composefs-xattr-fallback

Conversation

@cgwalters

Copy link
Copy Markdown
Collaborator

We had two changes in composefs-rs:

  • xattr filtering
  • v1 vs v2 EROFS

When we switched to v1 for the EROFS generation by default, it
broke UKI upgrades when the system was deployed with an older
bootc.

Unfortunately, there's no easy way to fix this (short of
reverting the change to v1 by default).

But at least with this approach, one can more easily temporarily
use a newer bootc on the client, and it will be able to adapt
to e.g. having an older bootc (perhaps using v2) in the target
environment.

Assisted-by: AI
Signed-off-by: Colin Walters walters@verbum.org

bootc-bot Bot and others added 3 commits July 30, 2026 13:27
Signed-off-by: bootc-bot[bot] <225049296+bootc-bot[bot]@users.noreply.github.com>
Signed-off-by: Colin Walters <walters@verbum.org>
The composefs-rs update added a required OciTransformOptions parameter
to generate_boot_image, create_filesystem, and read_container_root.
Pass Default::default() at all call sites to preserve the previous
behavior (no xattr filtering).

Assisted-by: AI
Signed-off-by: John Eckersberg <jeckersb@redhat.com>
Signed-off-by: Colin Walters <walters@verbum.org>
We had two changes in composefs-rs:

- xattr filtering
- v1 vs v2 EROFS

When we switched to v1 for the EROFS generation by default, it
broke UKI upgrades when the system was deployed with an older
bootc.

Unfortunately, there's no easy way to fix this (short of
reverting the change to v1 by default).

But at least with this approach, one can more easily temporarily
use a newer bootc on the client, and it will be able to adapt
to e.g. having an *older* bootc (perhaps using v2) in the target
environment.

Assisted-by: AI
Signed-off-by: Colin Walters <walters@verbum.org>
@bootc-bot
bootc-bot Bot requested a review from jmarrero July 30, 2026 21:12
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.

2 participants