Message ID | 1380305440-63843-3-git-send-email-trenn@suse.de (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/dracut.sh b/dracut.sh index 0383c7e..618c301 100755 --- a/dracut.sh +++ b/dracut.sh @@ -1294,12 +1294,15 @@ if [[ $early_microcode = yes ]]; then dinfo "*** Constructing ${ucode_dest[$idx]} ****" if [[ $hostonly ]]; then _src=$(get_ucode_file) + if ! [[ -r $_fwdir/$_fw/$_src ]];then + break; + fi fi cat $_fwdir/$_fw/$_src > $_dest_dir/${ucode_dest[$idx]} + create_early_cpio="yes" fi done done - create_early_cpio="yes" fi rm -f -- "$outfile"