Skip to content

Conversation

@hanwen-cluster
Copy link
Contributor

grubby command on Rocky 9.5 no longer writes to /etc/default/grub. It uses another file. To avoid too many branches based on operating system, this commit use cpupower command to check CPU cstate. cpupower doesn't work on Ubuntu20, for which this commit keeps the old checks.

Tests

  • Build image on all operating systems is successful.

Please review the guidelines for contributing and Pull Request Instructions.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

`grubby` command on Rocky 9.5 no longer writes to `/etc/default/grub`. It uses another file. To avoid too many branches based on operating system, this commit use `cpupower` command to check CPU cstate. `cpupower` doesn't work on Ubuntu20, for which this commit keeps the old checks.

Signed-off-by: Hanwen <[email protected]>
@hanwen-cluster hanwen-cluster requested review from a team as code owners January 28, 2025 00:52
@hanwen-cluster hanwen-cluster enabled auto-merge (rebase) January 28, 2025 14:11
@hanwen-cluster hanwen-cluster merged commit 46a0ac1 into aws:develop Jan 28, 2025
38 of 43 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants