Blame SOURCES/0145-dracut-don-t-let-devices-timeout.patch

18971c
From 711030d61d8dbf195d416fbd23759feac0303c15 Mon Sep 17 00:00:00 2001
18971c
From: Harald Hoyer <harald@redhat.com>
18971c
Date: Tue, 4 Mar 2014 13:46:14 +0100
18971c
Subject: [PATCH] dracut: don't let devices timeout
18971c
18971c
https://bugzilla.redhat.com/show_bug.cgi?id=949697
18971c
---
18971c
 modules.d/98systemd/rootfs-generator.sh | 2 +-
18971c
 modules.d/99base/dracut-lib.sh          | 2 +-
18971c
 2 files changed, 2 insertions(+), 2 deletions(-)
18971c
18971c
diff --git a/modules.d/98systemd/rootfs-generator.sh b/modules.d/98systemd/rootfs-generator.sh
18971c
index a11ce595..2c098951 100755
18971c
--- a/modules.d/98systemd/rootfs-generator.sh
18971c
+++ b/modules.d/98systemd/rootfs-generator.sh
18971c
@@ -29,7 +29,7 @@ generator_wait_for_dev()
18971c
         mkdir -p /run/systemd/generator/${_name}.device.d
18971c
         {
18971c
             echo "[Unit]"
18971c
-            echo "JobTimeoutSec=3600"
18971c
+            echo "JobTimeoutSec=0"
18971c
         } > /run/systemd/generator/${_name}.device.d/timeout.conf
18971c
     fi
18971c
 }
18971c
diff --git a/modules.d/99base/dracut-lib.sh b/modules.d/99base/dracut-lib.sh
18971c
index d892c26d..62facda1 100755
18971c
--- a/modules.d/99base/dracut-lib.sh
18971c
+++ b/modules.d/99base/dracut-lib.sh
18971c
@@ -884,7 +884,7 @@ wait_for_dev()
18971c
             mkdir -p ${PREFIX}/etc/systemd/system/${_name}.device.d
18971c
             {
18971c
                 echo "[Unit]"
18971c
-                echo "JobTimeoutSec=3600"
18971c
+                echo "JobTimeoutSec=0"
18971c
             } > ${PREFIX}/etc/systemd/system/${_name}.device.d/timeout.conf
18971c
             _needreload=1
18971c
         fi