Blame 0003-livenet-avoid-spurious-error-message-wait_for_dev.patch

Harald Hoyer 035915
From c1df00d2c62f9cd79957d62dda025964108f12de Mon Sep 17 00:00:00 2001
Harald Hoyer 035915
From: Will Woods <wwoods@redhat.com>
Harald Hoyer 035915
Date: Wed, 15 Feb 2012 13:36:09 -0500
Harald Hoyer 035915
Subject: [PATCH] livenet: avoid spurious error message / wait_for_dev
Harald Hoyer 035915
Harald Hoyer 035915
If the user didn't request a livenet boot, don't print an error
Harald Hoyer 035915
and don't do wait_for_dev.
Harald Hoyer 035915
Harald Hoyer 035915
Signed-off-by: Will Woods <wwoods@redhat.com>
Harald Hoyer 035915
---
Harald Hoyer 035915
 modules.d/90livenet/parse-livenet.sh |    3 +--
Harald Hoyer 035915
 1 files changed, 1 insertions(+), 2 deletions(-)
Harald Hoyer 035915
Harald Hoyer 035915
diff --git a/modules.d/90livenet/parse-livenet.sh b/modules.d/90livenet/parse-livenet.sh
Harald Hoyer 035915
index 042cc51..926dba2 100755
Harald Hoyer 035915
--- a/modules.d/90livenet/parse-livenet.sh
Harald Hoyer 035915
+++ b/modules.d/90livenet/parse-livenet.sh
Harald Hoyer 035915
@@ -15,8 +15,7 @@ if get_url_handler "$liveurl" >/dev/null; then
Harald Hoyer 035915
     netroot="livenet:$liveurl"
Harald Hoyer 035915
     root="livenet" # quiet complaints from init
Harald Hoyer 035915
     rootok=1
Harald Hoyer 035915
+    wait_for_dev /dev/root
Harald Hoyer 035915
 else
Harald Hoyer 035915
     info "livenet: no url handler for $liveurl"
Harald Hoyer 035915
 fi
Harald Hoyer 035915
-
Harald Hoyer 035915
-wait_for_dev /dev/root