diff options
Diffstat (limited to 'target/linux/x86/image/grub-iso.cfg')
-rw-r--r-- | target/linux/x86/image/grub-iso.cfg | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/target/linux/x86/image/grub-iso.cfg b/target/linux/x86/image/grub-iso.cfg index 5d128aa3aa..c624cbe0ee 100644 --- a/target/linux/x86/image/grub-iso.cfg +++ b/target/linux/x86/image/grub-iso.cfg @@ -7,7 +7,12 @@ set root='(cd)' menuentry "@TITLE@" { linux /boot/vmlinuz @CMDLINE@ noinitrd - if [ -s /boot/intel-ucode.img ]; then - initrd /boot/intel-ucode.img + 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 fi } |