-
Notifications
You must be signed in to change notification settings - Fork 72
distro: add ISO support for bootc images (HMS-9297) #1804
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Honestly, it's easy to skip over but custom depsolvers per distro is a pretty huge thing! I love it. |
bbe53a9 to
14e9bf3
Compare
The bootc based distros need a custom depsolver because they need to use the dnf from the container to ensure that all the plugins/custom config is used. So manifestgen now checks if the distro defines its own way to depsolve and if so uses that instead of using the default way. Note that this means that bootc ISOs (that require rpms) are incompatible with custom depsolve helpers.
5798b53 to
d141f65
Compare
|
A previous version of this PR changed the images API or behaviour causing integration issues with osbuild-composer. |
166aa15 to
99ba8d6
Compare
|
This PR is stale because it had no activity for the past 30 days. Remove the "Stale" label or add a comment, otherwise this PR will be closed in 7 days. |
|
This will need to implement osbuild/bootc-image-builder#1073 as well. |
|
Closing in favor of osbuild/bootc-image-builder#1131 which is much nicer. |
[draft as this needs some cleanups and tests first but the idea is there, we also need to port https://github.com/osbuild/bootc-image-builder/pull/1048 (if we decide to do it)]
This commit adds support to build ISO images for the bootc distro.
The core idea is that the
distro.Distroabstraction can have custom depsolvers. This makes sense anyway if we ever want to support non-rpm distros. For bootc we need it because we run the dnf from inside the container to be sure that we get all custom plugins/repo config etc.This is otherwise a (mostly) 1-1 copy of the code we have already in bib.
/jira-epic HMS-8839
JIRA: HMS-9297