Revert "x86: add intel microcode entries to grub config"
This reverts commit 546fced2a2
.
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
parent
231d9d5327
commit
c6aa4f53e8
4 changed files with 4 additions and 12 deletions
|
@ -2,10 +2,8 @@
|
|||
# Copyright (C) 2018 OpenWrt.org
|
||||
|
||||
do_load_x86_ucode() {
|
||||
if grep -q AuthenticAMD /proc/cpuinfo; then
|
||||
if [ -e "/sys/devices/system/cpu/microcode/reload" ]; then
|
||||
echo 1 > /sys/devices/system/cpu/microcode/reload
|
||||
fi
|
||||
if [ -e "/sys/devices/system/cpu/microcode/reload" ]; then
|
||||
echo 1 > /sys/devices/system/cpu/microcode/reload
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ include $(INCLUDE_DIR)/image.mk
|
|||
|
||||
export PATH=$(TARGET_PATH):/sbin
|
||||
|
||||
GRUB2_MODULES = biosdisk boot chain configfile ext2 linux ls part_msdos reboot serial test vga
|
||||
GRUB2_MODULES_ISO = biosdisk boot chain configfile iso9660 linux ls part_msdos reboot serial test vga
|
||||
GRUB2_MODULES = biosdisk boot chain configfile ext2 linux ls part_msdos reboot serial vga
|
||||
GRUB2_MODULES_ISO = biosdisk boot chain configfile iso9660 linux ls part_msdos reboot serial vga
|
||||
GRUB_TERMINALS =
|
||||
GRUB_SERIAL_CONFIG =
|
||||
GRUB_TERMINAL_CONFIG =
|
||||
|
|
|
@ -7,7 +7,4 @@ set root='(cd)'
|
|||
|
||||
menuentry "@TITLE@" {
|
||||
linux /boot/vmlinuz @CMDLINE@ noinitrd
|
||||
if [ -s /boot/intel-ucode.img ]; then
|
||||
initrd /boot/intel-ucode.img
|
||||
fi
|
||||
}
|
||||
|
|
|
@ -7,9 +7,6 @@ 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
|
||||
|
|
Loading…
Reference in a new issue