I have a use case where I need different kernel parameters for the same variant across different architectures. For example, for the aws-dev variant, if the architecture is aarch64, I want to add "pci=realloc" and remove "quiet".
Before:
[package.metadata.build-variant]
kernel-parameters = [
# Other parameters omitted for clarity
"quiet",
]
After:
[package.metadata.build-variant]
kernel-parameters = [
"pci=realloc",
]
Could Twoliter add a feature to support this? Something like:
twoliter modify-kernel-parameters --variant "aws-dev" --add "pci=realloc" --remove "quiet"
It could be even better if the modification is integrated into the "cargo make build" command. Such that there is no -dirty tag of images built.
I have a use case where I need different kernel parameters for the same variant across different architectures. For example, for the
aws-devvariant, if the architecture isaarch64, I want to add"pci=realloc"and remove"quiet".Before:
After:
Could Twoliter add a feature to support this? Something like:
It could be even better if the modification is integrated into the "cargo make build" command. Such that there is no
-dirtytag of images built.