Skip to content

Conversation

@chaserhkj
Copy link
Contributor

Since 49d753f, upstream composefs-oci now writes manifest stream identifier as oci-config-sha256:. (ref)

This was not updated in commit mentioned above, causing bootc always attempting to upgrade when bootc upgrade is ran, which will fail later at state writing stage due to already existing state directory.

Upstream composefs-oci now writes manifest stream as oci-config-sha256:<sha256 checksum>

Signed-off-by: Chaser Huang <huangkangjing@gmail.com>
@bootc-bot bootc-bot bot requested a review from cgwalters January 14, 2026 02:58
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request addresses a bug where bootc upgrade would always attempt an upgrade due to an incorrect check for a pulled image. The fix correctly formats the manifest stream identifier to align with an upstream change in composefs-oci. The change is correct and necessary. I've added one suggestion to improve maintainability by defining a magic string as a constant.

@henrywang
Copy link
Collaborator

The failure comes from grub2 regression. #1905 (comment)

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