Skip to content

Conversation

@cgwalters
Copy link
Collaborator

This fleshes out what we had with a more rigorous
binding to the spec.

Assisted-by: Claude Code

@github-actions github-actions bot added the area/install Issues related to `bootc install` label Oct 20, 2025
@bootc-bot bootc-bot bot requested a review from henrywang October 20, 2025 14:50
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 is a great improvement. It introduces a dedicated module for the Discoverable Partitions Specification, centralizing all related GUIDs and logic. This significantly enhances maintainability and correctness by removing hardcoded values scattered across the codebase and ensuring they are aligned with the official specification. The inclusion of a validation test against the spec file is an excellent touch. The overall changes are clean and well-executed.

This fleshes out what we had with a more rigorous
binding to the spec.

As part of this though, the ESP constant we had here was uppercase,
but the spec version uses lowercase. Add APIs to find a partition
by type, comparing case insensitively.

Assisted-by: Claude Code
Signed-off-by: Colin Walters <[email protected]>
@cgwalters
Copy link
Collaborator Author

ooo. Hooray for the new composefs integration tests catching a bug.

@cgwalters cgwalters enabled auto-merge (rebase) October 22, 2025 18:56
Copy link
Contributor

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

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

lgtm

@cgwalters cgwalters merged commit 4e04eb9 into bootc-dev:main Oct 22, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/install Issues related to `bootc install`

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants