Blame SOURCES/0484-systemd-dracut-cmdline.sh-unset-UNSET-root.patch

18971c
From 72ae0fd418680b7e4931ce760efdfea455740ccb Mon Sep 17 00:00:00 2001
18971c
From: Harald Hoyer <harald@redhat.com>
18971c
Date: Fri, 12 Aug 2016 11:24:47 +0200
18971c
Subject: [PATCH] systemd/dracut-cmdline.sh: unset "UNSET" $root
18971c
18971c
https://bugzilla.redhat.com/show_bug.cgi?id=1365667
18971c
caused by commit 9aa224cc
18971c
---
18971c
 modules.d/98systemd/dracut-cmdline.sh | 2 ++
18971c
 1 file changed, 2 insertions(+)
18971c
18971c
diff --git a/modules.d/98systemd/dracut-cmdline.sh b/modules.d/98systemd/dracut-cmdline.sh
18971c
index 17b30a34..630f3f92 100755
18971c
--- a/modules.d/98systemd/dracut-cmdline.sh
18971c
+++ b/modules.d/98systemd/dracut-cmdline.sh
18971c
@@ -79,6 +79,8 @@ esac
18971c
 [ -z "${root}${root_unset}" ] && die "Empty root= argument"
18971c
 [ -z "$rootok" ] && die "Don't know how to handle 'root=$root'"
18971c
 
18971c
+[ "$root" = "UNSET" ] && unset root
18971c
+
18971c
 export root rflags fstype netroot NEWROOT
18971c
 
18971c
 export -p > /dracut-state.sh