Align the bootc distro package with the generic one#2136
Merged
thozza merged 5 commits intoosbuild:mainfrom Jan 19, 2026
Merged
Align the bootc distro package with the generic one#2136thozza merged 5 commits intoosbuild:mainfrom
thozza merged 5 commits intoosbuild:mainfrom
Conversation
Member
Author
|
NOTE: There will be merge conflicts here once some (higher priority) PRs get merged. |
Avoids stutter (bootc.BootcImageType) and aligns with the generic distro (for package-based images).
Aligning with the generic, package-based distro.
Continuing the alignment of the bootc distro to the generic one. Define the imageType struct and its methods in a separate file.
Avoids stutter (bootc.BootcArch).
None of these functions implement an interface that requires a specific signature, so we don't need to include arguments that aren't used.
f0f06f0 to
07ab298
Compare
Member
Author
|
Rebased. |
lzap
approved these changes
Jan 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is purely a refactoring PR. It's the first step in aligning the way we define the bootc distro, its image types, and the manifest generators with the structure and functions of the generic distro.
The end goal is to make the bootc distro package (the pipeline generators for bootc-based images) have the same interface and behave as much as possible as the other distros. The bootc distro package was initially defined in bootc-image-builder, where we had very different requirements and assumptions about the running environment. Since we merged it here, there's now a lot of duplication and, more importantly, the way we define the bootc-based image types and generate the manifests is very different from the traditional way the manifest generators work.
A big part of this goal is making it simpler to instantiate the manifest without needing to resolve content (resolve the container ref, inspect/run the container), or at least without that happening implicitly. This will be very useful both for mocking (generating manifests without real content) and for having finer control over remote content resolution, like we already do for packages, containers, and ostree refs, which in turn is needed for defining jobs in the osbuild-composer and the service.