[PC-BSD Commits] r20156 - pcbsd/branches/9.1/build-files/src-patches

svn at pcbsd.org svn at pcbsd.org
Sat Nov 10 09:55:05 PST 2012


Author: kris
Date: 2012-11-10 17:55:05 +0000 (Sat, 10 Nov 2012)
New Revision: 20156

Modified:
   pcbsd/branches/9.1/build-files/src-patches/patch-pc-sysinstall-zpool-4k-gnop
Log:

MFC fix to gnop stuf



Modified: pcbsd/branches/9.1/build-files/src-patches/patch-pc-sysinstall-zpool-4k-gnop
===================================================================
--- pcbsd/branches/9.1/build-files/src-patches/patch-pc-sysinstall-zpool-4k-gnop	2012-11-10 17:54:31 UTC (rev 20155)
+++ pcbsd/branches/9.1/build-files/src-patches/patch-pc-sysinstall-zpool-4k-gnop	2012-11-10 17:55:05 UTC (rev 20156)
@@ -1,6 +1,40 @@
+Index: usr.sbin/pc-sysinstall/backend/functions-mountdisk.sh
+===================================================================
+--- usr.sbin/pc-sysinstall/backend/functions-mountdisk.sh	(revision 242874)
++++ usr.sbin/pc-sysinstall/backend/functions-mountdisk.sh	(working copy)
+@@ -149,12 +149,12 @@
+   for PART in `ls ${PARTDIR}`
+   do
+     PARTDEV=`echo $PART | sed 's|-|/|g'` 
+-    if [ ! -e "${PARTDEV}" ]
++    PARTFS="`cat ${PARTDIR}/${PART} | cut -d '#' -f 1`"
++    if [ ! -e "${PARTDEV}" -a "${PARTFS}" != "ZFS" ]
+     then
+       exit_err "ERROR: The partition ${PARTDEV} does not exist. Failure in bsdlabel?"
+     fi 
+ 
+-    PARTFS="`cat ${PARTDIR}/${PART} | cut -d '#' -f 1`"
+     PARTMNT="`cat ${PARTDIR}/${PART} | cut -d '#' -f 2`"
+     PARTENC="`cat ${PARTDIR}/${PART} | cut -d '#' -f 3`"
+ 
+@@ -186,12 +186,12 @@
+   for PART in `ls ${PARTDIR}`
+   do
+     PARTDEV=`echo $PART | sed 's|-|/|g'`
+-    if [ ! -e "${PARTDEV}" ]
++    PARTFS="`cat ${PARTDIR}/${PART} | cut -d '#' -f 1`"
++    if [ ! -e "${PARTDEV}" -a "${PARTFS}" != "ZFS" ]
+     then
+       exit_err "ERROR: The partition ${PARTDEV} does not exist. Failure in bsdlabel?"
+     fi 
+      
+-    PARTFS="`cat ${PARTDIR}/${PART} | cut -d '#' -f 1`"
+     PARTMNT="`cat ${PARTDIR}/${PART} | cut -d '#' -f 2`"
+     PARTENC="`cat ${PARTDIR}/${PART} | cut -d '#' -f 3`"
+ 
 Index: usr.sbin/pc-sysinstall/backend/functions-newfs.sh
 ===================================================================
---- usr.sbin/pc-sysinstall/backend/functions-newfs.sh	(revision 242702)
+--- usr.sbin/pc-sysinstall/backend/functions-newfs.sh	(revision 242874)
 +++ usr.sbin/pc-sysinstall/backend/functions-newfs.sh	(working copy)
 @@ -60,18 +60,28 @@
      fi
@@ -35,7 +69,7 @@
  # Runs newfs on all the partiions which we've setup with bsdlabel
 Index: usr.sbin/pc-sysinstall/backend/functions.sh
 ===================================================================
---- usr.sbin/pc-sysinstall/backend/functions.sh	(revision 242702)
+--- usr.sbin/pc-sysinstall/backend/functions.sh	(revision 242874)
 +++ usr.sbin/pc-sysinstall/backend/functions.sh	(working copy)
 @@ -277,7 +277,11 @@
      while :
@@ -52,7 +86,7 @@
  
 Index: usr.sbin/pc-sysinstall/conf/pc-sysinstall.conf
 ===================================================================
---- usr.sbin/pc-sysinstall/conf/pc-sysinstall.conf	(revision 242702)
+--- usr.sbin/pc-sysinstall/conf/pc-sysinstall.conf	(revision 242874)
 +++ usr.sbin/pc-sysinstall/conf/pc-sysinstall.conf	(working copy)
 @@ -5,11 +5,9 @@
  TMPDIR="/tmp/.pc-sysinstall"



More information about the Commits mailing list