forked from theforeman/foreman
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #38178 - Add linuxefi/initrdefi wrapper to GRUB2 templates
Back in time, GRUB2 is using `linux` and `initrd` commands to load the kernel and initrd into ram on legacy BIOS. Later, `linuxefi` and `initrdefi` commands have been added to do the same on UEFI platforms. However, it looks like that `linuxefi` and `initrd` commands are deprecated and distributions like Ubuntu started to remove them starting with 24.04. In case of Secure Boot [1] and Ubuntu 24.04 - putting corresponding shim+GRUB2 binaries in bootloader universe directory - the network boot is not working anymore because of used `linuxefi/initrd` commands in the involved GRUB2 configuration templates. In order fix this we can simply add wrapper functions to provide `linuxefi`/`initrdefi` as commands. [1]:theforeman#9864
- Loading branch information
Jan Löser
committed
Jan 30, 2025
1 parent
07ff0b6
commit 494d461
Showing
3 changed files
with
25 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters