Blame 0031-systemd-dracut-initqueue.sh-call-udevadm-settle-dire.patch

Harald Hoyer fe31f8
From 2663232a018bb3605e1668e51a095205b014fdc9 Mon Sep 17 00:00:00 2001
Harald Hoyer fe31f8
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer fe31f8
Date: Fri, 8 Feb 2013 14:55:24 +0100
Harald Hoyer fe31f8
Subject: [PATCH] systemd/dracut-initqueue.sh: call udevadm settle directly
Harald Hoyer fe31f8
Harald Hoyer fe31f8
---
Harald Hoyer fe31f8
 modules.d/98systemd/dracut-initqueue.sh | 2 +-
Harald Hoyer fe31f8
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer fe31f8
Harald Hoyer fe31f8
diff --git a/modules.d/98systemd/dracut-initqueue.sh b/modules.d/98systemd/dracut-initqueue.sh
Harald Hoyer fe31f8
index 76160cb..7de89e9 100755
Harald Hoyer fe31f8
--- a/modules.d/98systemd/dracut-initqueue.sh
Harald Hoyer fe31f8
+++ b/modules.d/98systemd/dracut-initqueue.sh
Harald Hoyer fe31f8
@@ -25,7 +25,7 @@ while :; do
Harald Hoyer fe31f8
 
Harald Hoyer fe31f8
     check_finished && break
Harald Hoyer fe31f8
 
Harald Hoyer fe31f8
-    udevsettle
Harald Hoyer fe31f8
+    udevadm settle --exit-if-exists=$hookdir/initqueue/work
Harald Hoyer fe31f8
 
Harald Hoyer fe31f8
     check_finished && break
Harald Hoyer fe31f8