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>
18 lines
322 B
INI
18 lines
322 B
INI
@SERIAL_CONFIG@
|
|
@TERMINAL_CONFIG@
|
|
|
|
set default="0"
|
|
set timeout="@TIMEOUT@"
|
|
set root='(cd)'
|
|
|
|
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
|
|
}
|