Skip to content
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

bootloader: export Grub variables to make them available in submenus #738

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

ycongal-smile
Copy link
Contributor

Without exporting the grub variables, they are only available in the main grub menu0. When descending in a submenu (like in default Debian for example), tuned_* variable are expanded to the empty string and, so, tuned kernel cmdline tuning is effectively disabled.

With the export, variables are available in submenus and tuned tuning is applied as expected.

Without exporting the grub variables, they are only available in the
main grub menu[0]. When descending in a submenu (like in default Debian for
example), tuned_* variable are expanded to the empty string and, so,
tuned kernel cmdline tuning is effectively disabled.

With the export, variables are available in submenus and tuned tuning is
applied as expected.

[0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1094201#10

Signed-off-by: Yoann Congal <[email protected]>
@yarda
Copy link
Contributor

yarda commented Jan 29, 2025

LGTM, thanks.

@yarda yarda merged commit 54f434e into redhat-performance:master Jan 29, 2025
14 checks passed
@ycongal-smile ycongal-smile deleted the grub_export branch January 31, 2025 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants