dracut.sh: do not create microcode, if no firmware is available

Harald Hoyer 2015-09-15 16:08:25 +02:00
parent 34b551a1c4
commit 13b5c1d09e
1 changed files with 4 additions and 0 deletions

View File

@ -1493,6 +1493,10 @@ if [[ $early_microcode = yes ]]; then
break;
fi
fi
for i in $_fwdir/$_fw/$_src; do
[ -e $i ] && break
break 2
done
cat $_fwdir/$_fw/$_src > $_dest_dir/${ucode_dest[$idx]}
create_early_cpio="yes"
fi