message="$(gettext_printf "Loading initial ramdisk ...")"
initrd_path=
for i in ${initrd}; do
- initrd_path="${initrd_path} ${rel_dirname}/${i}"
- done
- sed "s/^/$submenu_indentation/" << EOF
+ initrd_path="${rel_dirname}/${i}"
+ sed "s/^/$submenu_indentation/" << EOF
echo '$(echo "$message" | grub_quote)'
${module_loader} --nounzip $(echo $initrd_path)
EOF
+ done
fi
sed "s/^/$submenu_indentation/" << EOF
}
initrd=
if test -n "${initrd_early}" || test -n "${initrd_real}"; then
- initrd="${initrd_early} ${initrd_real}"
+ # Xen assumes the real initrd is the first module after the kernel.
+ # Additional (later) initrds can also be used for microcode update,
+ # with Xen option 'ucode=<scan|module number> (non-default anyway).
+ initrd="${initrd_real} ${initrd_early}"
initrd_display=
for i in ${initrd}; do