blob: fe3453330ff20c21397a0cf24498b4f0fb389447 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
--- a/util/grub.d/10_linux.in
+++ b/util/grub.d/10_linux.in
@@ -144,9 +144,13 @@
if test -n "${initrd}" ; then
# TRANSLATORS: ramdisk isn't identifier. Should be translated.
message="$(gettext_printf "Loading initial ramdisk ...")"
+ initrd_line="${rel_dirname}/${initrd}"
+ if [ -f "/boot/intel-ucode.img" ]; then
+ initrd_line="${rel_dirname}/intel-ucode.img $initrd_line"
+ fi
sed "s/^/$submenu_indentation/" << EOF
echo '$(echo "$message" | grub_quote)'
- initrd ${rel_dirname}/${initrd}
+ initrd ${initrd_line}
EOF
fi
sed "s/^/$submenu_indentation/" << EOF
|