Blame SOURCES/0083-systemd-rootfs-generator.sh-ignore-legacy-root-dev-n.patch

a56a5e
From 0ab5e8adc8c7132c4f858bcfe7bd7f8c493282d9 Mon Sep 17 00:00:00 2001
966cef
From: Harald Hoyer <harald@redhat.com>
966cef
Date: Fri, 17 Jan 2014 13:40:05 +0100
966cef
Subject: [PATCH] systemd/rootfs-generator.sh: ignore legacy root=/dev/nfs
966cef
966cef
---
966cef
 modules.d/98systemd/rootfs-generator.sh | 2 ++
966cef
 1 file changed, 2 insertions(+)
966cef
966cef
diff --git a/modules.d/98systemd/rootfs-generator.sh b/modules.d/98systemd/rootfs-generator.sh
1755ca
index 555027f3..9810026d 100755
966cef
--- a/modules.d/98systemd/rootfs-generator.sh
966cef
+++ b/modules.d/98systemd/rootfs-generator.sh
966cef
@@ -22,6 +22,8 @@ case "$root" in
966cef
         root="${root#block:}"
966cef
         root="block:/dev/disk/by-partlabel/${root#PARTLABEL=}"
966cef
         rootok=1 ;;
966cef
+    /dev/nfs) # ignore legacy /dev/nfs
966cef
+        ;;
966cef
     /dev/*)
966cef
         root="block:${root}"
966cef
         rootok=1 ;;