aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/image/grub.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/x86/image/grub.cfg')
-rw-r--r--target/linux/x86/image/grub.cfg9
1 files changed, 2 insertions, 7 deletions
diff --git a/target/linux/x86/image/grub.cfg b/target/linux/x86/image/grub.cfg
index 21d719261b..a665686863 100644
--- a/target/linux/x86/image/grub.cfg
+++ b/target/linux/x86/image/grub.cfg
@@ -7,13 +7,8 @@ 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
+ if [ -s /boot/intel-ucode.img ]; then
+ initrd /boot/intel-ucode.img
fi
}
menuentry "@TITLE@ (failsafe)" {