diff options
Diffstat (limited to '0071-systemd-dracut-initqueue.sh-fstab-is-not-a-directory.patch')
-rw-r--r-- | 0071-systemd-dracut-initqueue.sh-fstab-is-not-a-directory.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/0071-systemd-dracut-initqueue.sh-fstab-is-not-a-directory.patch b/0071-systemd-dracut-initqueue.sh-fstab-is-not-a-directory.patch new file mode 100644 index 0000000..ceed7ea --- /dev/null +++ b/0071-systemd-dracut-initqueue.sh-fstab-is-not-a-directory.patch @@ -0,0 +1,22 @@ +From f18c64839ed3417a596c1d5129c0fe11e1c37e75 Mon Sep 17 00:00:00 2001 +From: Harald Hoyer <harald@redhat.com> +Date: Tue, 7 Jan 2014 16:39:48 +0100 +Subject: [PATCH] systemd/dracut-initqueue.sh: fstab is not a directory + +--- + modules.d/98systemd/dracut-initqueue.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/modules.d/98systemd/dracut-initqueue.sh b/modules.d/98systemd/dracut-initqueue.sh +index 1e05dcd..37bc18f 100755 +--- a/modules.d/98systemd/dracut-initqueue.sh ++++ b/modules.d/98systemd/dracut-initqueue.sh +@@ -67,7 +67,7 @@ while :; do + + main_loop=$(($main_loop+1)) + if [ $main_loop -gt $RDRETRY ]; then +- if ! [ -d /sysroot/etc/fstab ] || ! [ -e /sysroot/sbin/init ] ; then ++ if ! [ -f /sysroot/etc/fstab ] || ! [ -e /sysroot/sbin/init ] ; then + action_on_fail "Could not boot." && break + fi + warn "Not all disks have been found." |