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

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