[PC-BSD Commits] r12895 - pcbsd/current/mfsroot-overlay/etc

svn at pcbsd.org svn at pcbsd.org
Tue Sep 20 09:00:25 PDT 2011


Author: kris
Date: 2011-09-20 09:00:25 -0700 (Tue, 20 Sep 2011)
New Revision: 12895

Modified:
   pcbsd/current/mfsroot-overlay/etc/SetupLive.sh
Log:

Make sure we flag live-disks as not having meta-pkgs



Modified: pcbsd/current/mfsroot-overlay/etc/SetupLive.sh
===================================================================
--- pcbsd/current/mfsroot-overlay/etc/SetupLive.sh	2011-09-20 15:53:07 UTC (rev 12894)
+++ pcbsd/current/mfsroot-overlay/etc/SetupLive.sh	2011-09-20 16:00:25 UTC (rev 12895)
@@ -50,11 +50,6 @@
   kldload nvidia
 fi
 
-# Unmount the CD if using memory
-if [ $MEM -gt $MDCHECK ]; then
-  /sbin/umount /cdmnt
-fi
-
 # See if we have install / meta pkgs for the front-end to use 
 if [ -e "/cdmnt/no-meta-pkgs" ] ; then touch /tmp/no-meta-pkgs ; fi
 if [ -e "/cdmnt/no-install-pkgs" ] ; then touch /tmp/no-install-pkgs ; fi
@@ -63,5 +58,10 @@
 # Set the marker that this is a LIVE bootup
 touch /usr/pcbsd-live
 
+# Unmount the CD if using memory
+if [ $MEM -gt $MDCHECK ]; then
+  /sbin/umount /cdmnt
+fi
+
 # Create a /liveroot file system with some extra space
 /sbin/mdmfs -S -s 128M -O space md8 /liveroot



More information about the Commits mailing list