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

svn at pcbsd.org svn at pcbsd.org
Sat Feb 25 05:25:17 PST 2012


Author: kris
Date: 2012-02-25 13:25:16 +0000 (Sat, 25 Feb 2012)
New Revision: 15593

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

mfsroot is RO at this point, do symlinking elsewhere



Modified: pcbsd/current/mfsroot-overlay/etc/SetupInstall.sh
===================================================================
--- pcbsd/current/mfsroot-overlay/etc/SetupInstall.sh	2012-02-25 11:30:03 UTC (rev 15592)
+++ pcbsd/current/mfsroot-overlay/etc/SetupInstall.sh	2012-02-25 13:25:16 UTC (rev 15593)
@@ -19,8 +19,6 @@
 echo "Copying kernel into memory... Please Wait..."
 /bin/cp -R /cdmnt/boot/kernel /uzip/
 /bin/cp -R /cdmnt/boot/modules /uzip/
-/bin/ln -fs /boot/kernel /uzip/kernel
-/bin/ln -fs /boot/modules /uzip/modules
 /bin/cp /cdmnt/boot/device.hints /boot/device.hints
 
 # Load the extra klds we need

Modified: pcbsd/current/mfsroot-overlay/etc/SetupLive.sh
===================================================================
--- pcbsd/current/mfsroot-overlay/etc/SetupLive.sh	2012-02-25 11:30:03 UTC (rev 15592)
+++ pcbsd/current/mfsroot-overlay/etc/SetupLive.sh	2012-02-25 13:25:16 UTC (rev 15593)
@@ -18,8 +18,8 @@
   MDDEVICE="`/sbin/mdconfig -a -t vnode -o readonly -f /cdmnt/PCBSD.ufs.uzip`.uzip"
   /sbin/mount -r /dev/$MDDEVICE /mntuzip
   # Make the kernel available
-  /bin/ln -s /boot/kernel /cdmnt/boot/kernel
-  /bin/ln -s /boot/modules /cdmnt/boot/modules
+  /bin/ln -s /uzip/kernel /cdmnt/boot/kernel
+  /bin/ln -s /uzip/modules /cdmnt/boot/modules
 
 else
   # We have enough space to copy the uzip file to memory and run from RAM, yay!
@@ -37,8 +37,6 @@
   echo "Copying kernel into memory... Please Wait..."
   /bin/cp -R /cdmnt/boot/kernel /uzip/
   /bin/cp -R /cdmnt/boot/modules /uzip/
-  /bin/ln -fs /boot/kernel /uzip/kernel 
-  /bin/ln -fs /boot/modules /uzip/modules 
   /bin/cp /cdmnt/boot/device.hints /boot/device.hints
 
 fi



More information about the Commits mailing list