mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
546fced2a2
Create initrd enries for x86 images, that'll load intel microcode as early as possible. To achieve that the test module for grub is enabled which provides shell-like conditionals. Also restrict the late load of microcode to AMD processors. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
17 lines
323 B
INI
17 lines
323 B
INI
@SERIAL_CONFIG@
|
|
@TERMINAL_CONFIG@
|
|
|
|
set default="0"
|
|
set timeout="@TIMEOUT@"
|
|
set root='(@ROOT@)'
|
|
|
|
menuentry "@TITLE@" {
|
|
linux /boot/vmlinuz @CMDLINE@ noinitrd
|
|
if [ -s /boot/intel-ucode.img ]; then
|
|
initrd /boot/intel-ucode.img
|
|
fi
|
|
}
|
|
menuentry "@TITLE@ (failsafe)" {
|
|
linux /boot/vmlinuz failsafe=true @CMDLINE@ noinitrd
|
|
}
|