mirror of
https://github.com/openwrt/openwrt.git
synced 2025-03-04 13:08:14 +00:00
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>
14 lines
230 B
INI
14 lines
230 B
INI
@SERIAL_CONFIG@
|
|
@TERMINAL_CONFIG@
|
|
|
|
set default="0"
|
|
set timeout="@TIMEOUT@"
|
|
set root='(cd)'
|
|
|
|
menuentry "@TITLE@" {
|
|
linux /boot/vmlinuz @CMDLINE@ noinitrd
|
|
if [ -s /boot/intel-ucode.img ]; then
|
|
initrd /boot/intel-ucode.img
|
|
fi
|
|
}
|