a822283c7e
Create initrd enries for x86 images, that'll load amd microcode as early as possible. Also remove the preinit script responsible for late load of microcode. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
21 lines
415 B
INI
21 lines
415 B
INI
@SERIAL_CONFIG@
|
|
@TERMINAL_CONFIG@
|
|
|
|
set default="0"
|
|
set timeout="@TIMEOUT@"
|
|
set root='(@ROOT@)'
|
|
|
|
menuentry "@TITLE@" {
|
|
linux /boot/vmlinuz @CMDLINE@ noinitrd
|
|
set amd="/boot/amd-ucode.img"
|
|
set intel="/boot/intel-ucode.img"
|
|
if [ -s "$amd" ]; then
|
|
initrd $amd $intel
|
|
fi
|
|
if [ -s "$intel" ]; then
|
|
initrd $intel $amd
|
|
fi
|
|
}
|
|
menuentry "@TITLE@ (failsafe)" {
|
|
linux /boot/vmlinuz failsafe=true @CMDLINE@ noinitrd
|
|
}
|