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

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