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: Set user.cfg path to /boot/grub2/ on EL 9 UEFI #101

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

spetrosi
Copy link
Contributor

Enhancement: Fix incorrect user.cfg path on UEFI systems

Reason: On EL9 and later Fedora, the configs got "unified" which means that they are in the same place on BIOS and UEFI (in /boot/grub2). This is done by adding a stab config to /boot/efi/EFI/$distro/grub.cfg

Result: The role uses correct user.cfg and grub.cfg paths on UEFI systems

Resolves #100

@spetrosi spetrosi requested a review from richm as a code owner May 29, 2024 15:30
tasks/main.yml Show resolved Hide resolved
tasks/main.yml Outdated Show resolved Hide resolved
@spetrosi
Copy link
Contributor Author

spetrosi commented Jun 3, 2024

More info about grub config unification in https://fedoraproject.org/wiki/Changes/UnifyGrubConfig

@spetrosi
Copy link
Contributor Author

spetrosi commented Jun 3, 2024

[citest]

On EL9 and later Fedora, the configs got "unified" which means that they
are in the same place on BIOS and UEFI (in /boot/grub2).
This is done by adding a stab config to /boot/efi/EFI/$distro/grub.cfg
@spetrosi
Copy link
Contributor Author

spetrosi commented Jun 4, 2024

[citest]

@spetrosi spetrosi merged commit be30d4d into linux-system-roles:main Jun 4, 2024
17 of 25 checks passed
@spetrosi spetrosi changed the title fix: Set grub configs paths to /boot/grub2/ fix: Set user.cfg path to /boot/grub2/ on EL 9 UEFI Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants