projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89f7217
)
systemd/dracut-initqueue.sh: continue to boot if finished failed
author
Harald Hoyer
<harald@redhat.com>
Mon, 5 Aug 2013 09:23:16 +0000
(11:23 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 7 Aug 2013 08:33:14 +0000
(10:33 +0200)
but /sysroot/etc/fstab exists.
modules.d/98systemd/dracut-initqueue.sh
patch
|
blob
|
history
diff --git
a/modules.d/98systemd/dracut-initqueue.sh
b/modules.d/98systemd/dracut-initqueue.sh
index 35cd76f52ee33229e71d704947bbf0b9db3c443d..893ebc47e93e1291eb5263d6318c04d335c0c8a7 100755
(executable)
--- a/
modules.d/98systemd/dracut-initqueue.sh
+++ b/
modules.d/98systemd/dracut-initqueue.sh
@@
-62,7
+62,14
@@
while :; do
fi
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
unset job