-
Notifications
You must be signed in to change notification settings - Fork 107
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
DNF options during blueprint depsolve/install ? #3590
Comments
Can you be more specific about your needs? Do you need to change the config of |
Sure. I have a package that conflicts with another from a group install. Currently I get an error due to the conflicting package. |
I suppose those are two separate phases though .. |
So basically you want to replace a package from the set that osbuild-composer defines with a different one? We are actually discussing this pretty often nowadays. Are you able to share a concrete example? We are collecting usecases when users need to replace a package from the base set. cc @supakeen |
I have to omit some of the details but I can share the interesting parts of my case. In blueprint.toml I have
Now This I have adjusted my current process to install some of the recommends in the blueprint rather than the full package because I could not determine if it was possible to defer installation of weak dependencies / resolve conflicts in the depsolve phase. Some of our weak deps do not want to be present in the image anyway because they create unique artifacts so it is preferable to defer those to when the system actually boots. |
@ondrejbudai it seems to me that @sjr0228 wants to allow erasing in the depsolve for the customizations (blueprint). This is likely something that we could expose in blueprints together with allowing the specification of weak dependency installation as merged in osbuild/images#39 though it will allow users to define things that can't be depsolved, same as allowing excludes in blueprints. @sjr0228 in this case the conflicting package is pulled in by a weak-dep of something in one of the comps groups? Small side-question; which distro are you building? |
The only relationship I have found is that I am building EL8.8. |
It is unclear how to pass arguments to DNF during the compose process or if that is even possible currently.
org.osbuild.dnf.config
mentionsIt is unclear where the
variables
option should be provided and further guidance would be excellent.The text was updated successfully, but these errors were encountered: