[PC-BSD Commits] r754 - pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts

svn at pcbsd.org svn at pcbsd.org
Tue Sep 18 10:50:05 PDT 2007


Author: kris
Date: 2007-09-18 10:50:05 -0700 (Tue, 18 Sep 2007)
New Revision: 754

Added:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.CopyExtra.sh
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/extraCopy
Modified:
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.ExtractTar.sh
   pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh
Log:

Setup the install process to save more space, by reusing a lot of binaries
/ libs from the CD. No point in having two copies of the same file / binary
on the CD



Added: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.CopyExtra.sh


Property changes on: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.CopyExtra.sh
___________________________________________________________________
Name: svn:executable
   + *

Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.ExtractTar.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.ExtractTar.sh	2007-09-18 17:36:42 UTC (rev 753)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.ExtractTar.sh	2007-09-18 17:50:05 UTC (rev 754)
@@ -92,15 +92,9 @@
 
 rm /mnt/tmp/RunOnSys.sh
 
-# Extract the fonts from the install CD
-mkdir -p /mnt/usr/local/lib/X11/fonts >/dev/null 2>/dev/null
-tar cvf - -C /usr/local/lib/X11/fonts . | tar xvf - -C /mnt/usr/local/lib/X11/fonts/ >/dev/null 2>/dev/null
+# Copy over our redundant files from installCD to the HD
+/usr/local/pcbsd/scripts/PCBSD.CopyExtra.sh >/dev/null 2>/dev/null
 
-# Copy over the mingunittf font
-mkdir -p /mnt/usr/local/share/fonts/TrueType >/dev/null 2>/dev/null
-tar cvf - -C /usr/local/share/fonts/TrueType . | tar xvf - -C /mnt/usr/local/share/fonts/TrueType >/dev/null 2>/dev/null
-
-
 # Reset the LANG stuff
 MM_CHARSET="UTF-8" ; export MM_CHARSET
 LANG="en_US.UTF-8" ; export LANG

Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh	2007-09-18 17:36:42 UTC (rev 753)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh	2007-09-18 17:50:05 UTC (rev 754)
@@ -169,11 +169,10 @@
 
 rm /mnt/tmp/RunOnSys.sh
 
-# Extract the system-souce file
-cd /mnt
-tar xvf /mnt/PCBSD/tmp/sys-source.tar >/dev/null 2>/dev/null
-rm /mnt/PCBSD/tmp/sys-source.tar
+# Copy over our redundant files from installCD to the HD
+/usr/local/pcbsd/scripts/PCBSD.CopyExtra.sh >/dev/null 2>/dev/null
 
+
 # Reset the LANG stuff
 MM_CHARSET="UTF-8" ; export MM_CHARSET
 LANG="en_US.UTF-8" ; export LANG

Added: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/extraCopy



More information about the Commits mailing list