You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
851 B
24 lines
851 B
From 72ae0fd418680b7e4931ce760efdfea455740ccb Mon Sep 17 00:00:00 2001 |
|
From: Harald Hoyer <harald@redhat.com> |
|
Date: Fri, 12 Aug 2016 11:24:47 +0200 |
|
Subject: [PATCH] systemd/dracut-cmdline.sh: unset "UNSET" $root |
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1365667 |
|
caused by commit 9aa224cc |
|
--- |
|
modules.d/98systemd/dracut-cmdline.sh | 2 ++ |
|
1 file changed, 2 insertions(+) |
|
|
|
diff --git a/modules.d/98systemd/dracut-cmdline.sh b/modules.d/98systemd/dracut-cmdline.sh |
|
index 17b30a34..630f3f92 100755 |
|
--- a/modules.d/98systemd/dracut-cmdline.sh |
|
+++ b/modules.d/98systemd/dracut-cmdline.sh |
|
@@ -79,6 +79,8 @@ esac |
|
[ -z "${root}${root_unset}" ] && die "Empty root= argument" |
|
[ -z "$rootok" ] && die "Don't know how to handle 'root=$root'" |
|
|
|
+[ "$root" = "UNSET" ] && unset root |
|
+ |
|
export root rflags fstype netroot NEWROOT |
|
|
|
export -p > /dracut-state.sh
|
|
|