[PC-BSD Commits] r4873 - in pcbsd/trunk/pc-sysinstall: . backend

svn at pcbsd.org svn at pcbsd.org
Wed Nov 4 11:56:12 PST 2009


Author: kris
Date: 2009-11-04 11:56:11 -0800 (Wed, 04 Nov 2009)
New Revision: 4873

Modified:
   pcbsd/trunk/pc-sysinstall/backend/functions-extractimage.sh
   pcbsd/trunk/pc-sysinstall/pcinstall.cfg
Log:

Fixed bug mounting uzip image from fetched archive



Modified: pcbsd/trunk/pc-sysinstall/backend/functions-extractimage.sh
===================================================================
--- pcbsd/trunk/pc-sysinstall/backend/functions-extractimage.sh	2009-11-04 19:51:42 UTC (rev 4872)
+++ pcbsd/trunk/pc-sysinstall/backend/functions-extractimage.sh	2009-11-04 19:56:11 UTC (rev 4873)
@@ -23,12 +23,12 @@
 
   case ${PACKAGETYPE} in
    uzip) # Start by mounting the uzip image
-         MDDEVICE=`mdconfig -a -t vnode -o readonly -f ${CDMNT}/${INSFILE}`
+         MDDEVICE=`mdconfig -a -t vnode -o readonly -f ${INSFILE}`
          mkdir -p ${FSMNT}.uzip
          mount -r /dev/${MDDEVICE}.uzip ${FSMNT}.uzip
          if [ "$?" != "0" ]
          then
-           exit_err "ERROR: Failed mounting the ${CDMNT}/${INSFILE}"
+           exit_err "ERROR: Failed mounting the ${INSFILE}"
          fi
          cd ${FSMNT}.uzip
 

Modified: pcbsd/trunk/pc-sysinstall/pcinstall.cfg
===================================================================
--- pcbsd/trunk/pc-sysinstall/pcinstall.cfg	2009-11-04 19:51:42 UTC (rev 4872)
+++ pcbsd/trunk/pc-sysinstall/pcinstall.cfg	2009-11-04 19:56:11 UTC (rev 4873)
@@ -35,15 +35,15 @@
 #netSaveDefaultRouter=192.168.0.1
 
 # Set if we are installing via optical, USB, or FTP
-#installType=PCBSD
-installType=FreeBSD
+installType=PCBSD
+#installType=FreeBSD
 #installMedium=dvd
 installMedium=ftp
 
 ftpPath=ftp://192.168.0.2/netinstall
 
-#packageType=uzip
-packageType=tar
+packageType=uzip
+#packageType=tar
 #installComponents=ports,src
 commitInstall
 



More information about the Commits mailing list