-
Notifications
You must be signed in to change notification settings - Fork 510
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
only build the packages needed for the current variant #1361
Comments
One difficulty here is that the "packages" we include in a variant definition can be sub-packages at the RPM spec level. For example, the k8s variants now include "static-pods" which is a sub-package of This property is useful at image construction time, since we can easily create a list of specific RPM packages to install. However, for the purposes of limiting the build to just the packages that we need, it implies a need to expand our spec file parsing to account for potential package outputs. |
Yeah, and I think the other problem is release.spec which expects all of it's RPMs to be exist? For a proof of concept I'm thinking of hacking Cargo.toml |
What I'd like:
We have a build-packages phase that builds all packages, even those that aren't needed for the variant currently being built. See if we can build only the packages that we need for the current variant.
Any alternatives you've considered:
Leaving it the way it is... but this becomes more problematic as we have more large packages (multiple kubernetes versions, or kernels, for example).
The text was updated successfully, but these errors were encountered: