-
Notifications
You must be signed in to change notification settings - Fork 519
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
Split metal and non-metal kernel config #2211
Comments
We should consider some additional logic to ensure that the kernel is only rebuilt when switching between metal and other versions, and not rebuilt when switching between eg aws-ecs and aws-k8s |
Yes, I think there is some steps to this here. I am thinking of something like the following:
(*) For the build time improvements there is multiple levels to that I think:
|
I have been looking into how to split the builds. Doing this the basic way of just adding some logic in the So probably we want to think about adding some feature to specify a specific part of the variant (platform, runtime, family, ...) and a specific value for that part we want to have rebuilds of a specific package for. I have done some poking around, but I probably need to get more familiar with |
The functional parts of splitting the configs and building the kernel with the variant appropriate config are done. As discussed in #2279 the impact of re-building the kernel with each variant is less than expected as the variant specific build of the I will either way have a look on how we might be able to recoup some of the additional time spent in building with this split. |
It might be worth expanding on the concepts in Today we have
|
As time goes on and we continue to add kernel modules to support new and different hardware, we don't want our non-metal variants to carry all of the extra modules. We should split out the metal-specific config.
There are a few considerations here however:
variant-sensitive
key inCargo.toml
)The text was updated successfully, but these errors were encountered: