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

Fix so /boot/efi/EFI/redhat/grub.cfg is not updated when EL > 9 #108

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hbarina
Copy link

@hbarina hbarina commented Dec 20, 2024

Pull Request (PR) description

On redhat systems, augeasproviders_grub will always update /boot/efi/EFI/redhat/grub.cfg with the output of grub2-mkconfig when there are changes. For systems greater than EL9, this causes problems. This file should be a stub refering to files in /boot/grub2 which enables it to use /boot/grub2/grub.cfg. This is regardless of whether the system is booting in BIOS or EFI mode.

Without this stub, grub environments no longer works. For example tuned updates to cmdline options no longer work.

This Pull Request (PR) fixes the following issues

Fixed #107

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.

/boot/efi/EFI/redhat/grub.cfg incorrectly being updated on EL9
1 participant