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.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/x86/image/grub.cfg b/target/linux/x86/image/grub.cfg
index dedfa0a636..a665686863 100644
--- a/target/linux/x86/image/grub.cfg
+++ b/target/linux/x86/image/grub.cfg
@@ -7,6 +7,9 @@ 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