[PC-BSD Commits] r6889 - in pcbsd: current/pc-sysinstall/backend stable/pc-sysinstall/backend

svn at pcbsd.org svn at pcbsd.org
Thu Jun 10 09:51:42 PDT 2010


Author: kris
Date: 2010-06-10 09:51:42 -0700 (Thu, 10 Jun 2010)
New Revision: 6889

Modified:
   pcbsd/current/pc-sysinstall/backend/functions-newfs.sh
   pcbsd/stable/pc-sysinstall/backend/functions-newfs.sh
Log:

Fixed a syntax error when doing ZFS root on MBR slice



Modified: pcbsd/current/pc-sysinstall/backend/functions-newfs.sh
===================================================================
--- pcbsd/current/pc-sysinstall/backend/functions-newfs.sh	2010-06-10 15:50:49 UTC (rev 6888)
+++ pcbsd/current/pc-sysinstall/backend/functions-newfs.sh	2010-06-10 16:51:42 UTC (rev 6889)
@@ -40,7 +40,7 @@
         # Lets stamp the proper ZFS boot loader
         echo_log "Setting up ZFS boot loader support" 
         rc_halt "zpool set bootfs=${ZPOOLNAME} ${ZPOOLNAME}"
-        rc_halt "zpool export ${${ZPOOLNAME}"
+        rc_halt "zpool export ${ZPOOLNAME}"
         rc_halt "dd if=/boot/zfsboot of=/dev/${ROOTSLICE} count=1"
         rc_halt "dd if=/boot/zfsboot of=/dev/${PART}${EXT} skip=1 seek=1024"
         rc_halt "zpool import ${ZPOOLNAME}"

Modified: pcbsd/stable/pc-sysinstall/backend/functions-newfs.sh
===================================================================
--- pcbsd/stable/pc-sysinstall/backend/functions-newfs.sh	2010-06-10 15:50:49 UTC (rev 6888)
+++ pcbsd/stable/pc-sysinstall/backend/functions-newfs.sh	2010-06-10 16:51:42 UTC (rev 6889)
@@ -40,7 +40,7 @@
         # Lets stamp the proper ZFS boot loader
         echo_log "Setting up ZFS boot loader support" 
         rc_halt "zpool set bootfs=${ZPOOLNAME} ${ZPOOLNAME}"
-        rc_halt "zpool export ${${ZPOOLNAME}"
+        rc_halt "zpool export ${ZPOOLNAME}"
         rc_halt "dd if=/boot/zfsboot of=/dev/${ROOTSLICE} count=1"
         rc_halt "dd if=/boot/zfsboot of=/dev/${PART}${EXT} skip=1 seek=1024"
         rc_halt "zpool import ${ZPOOLNAME}"



More information about the Commits mailing list