aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Yao <ryao@cs.stonybrook.edu>2012-07-17 15:57:02 -0400
committerRichard Yao <ryao@cs.stonybrook.edu>2012-07-17 16:03:56 -0400
commit65249bbcea5fc30fad575e0534f563d5937eab6b (patch)
tree01a71779ad0080dbfb8340f9ad940f1f8082ba92
parentFix rootfs=ZFS infinite loop when no bootfs is set, bug #425120 (diff)
downloadgenkernel-65249bbcea5fc30fad575e0534f563d5937eab6b.tar.gz
genkernel-65249bbcea5fc30fad575e0534f563d5937eab6b.tar.bz2
genkernel-65249bbcea5fc30fad575e0534f563d5937eab6b.zip
Fix bad ZFS case statement, bug #425122
-rwxr-xr-xdefaults/linuxrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/linuxrc b/defaults/linuxrc
index 6d156d78..0403b4d5 100755
--- a/defaults/linuxrc
+++ b/defaults/linuxrc
@@ -250,7 +250,7 @@ fi
# Set variables based on the value of REAL_ROOT
case "${REAL_ROOT}" in
- ZFS*)
+ ZFS=*)
ZFS_POOL=${REAL_ROOT#*=}
ZFS_POOL=${ZFS_POOL%%/*}
USE_ZFS=1