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

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