systemd/dracut-initqueue.sh: continue to boot if finished failed

but /sysroot/etc/fstab exists.
master
Harald Hoyer 2013-08-05 11:23:16 +02:00
parent 89f7217954
commit 226e3710b4
1 changed files with 8 additions and 1 deletions

View File

@ -62,7 +62,14 @@ while :; do
fi fi


main_loop=$(($main_loop+1)) main_loop=$(($main_loop+1))
[ $main_loop -gt $RDRETRY ] && action_on_fail "Could not boot." && break if [ $main_loop -gt $RDRETRY ];
if ! [ -d /sysroot/etc/fstab ] || ! [ -e /sysroot/sbin/init ] ; then
action_on_fail "Could not boot." && break
fi
warn "Not all disks have been found."
warn "You might want to regenerate your initramfs."
break
fi
done done


unset job unset job