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

svn at pcbsd.org svn at pcbsd.org
Mon Apr 28 07:52:27 PDT 2008


Author: kris
Date: 2008-04-28 07:52:26 -0700 (Mon, 28 Apr 2008)
New Revision: 1789

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

Fix the install scripts to work with the new lzma from lzmautils



Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.ExtractTar.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.ExtractTar.sh	2008-04-28 14:27:43 UTC (rev 1788)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.ExtractTar.sh	2008-04-28 14:52:26 UTC (rev 1789)
@@ -16,7 +16,7 @@
 
 (sleep 2; nice -n -20 tar xvpf /mnt/tarpipe >&1 2>&1) &
 
-nice -n -20 lzma d -so /cdmnt/PCBSD.tar.lzma >/mnt/tarpipe
+nice -n -20 lzma -d -c /cdmnt/PCBSD.tar.lzma >/mnt/tarpipe
 if [ "$?" != "0" ]
 then
   exit 1

Modified: pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh
===================================================================
--- pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh	2008-04-28 14:27:43 UTC (rev 1788)
+++ pcbsd/trunk/installcd-overlay/usr/local/pcbsd/scripts/PCBSD.MountUpgrade.sh	2008-04-28 14:52:26 UTC (rev 1789)
@@ -90,7 +90,7 @@
 LANGOLD="$LANG"
 LANG=""
 
-lzma d -so /cdmnt/PCBSD.tar.lzma  | tar xvp -X /usr/local/pcbsd/scripts/excUpgrade -f - >&1 2>&1
+lzma -d -c /cdmnt/PCBSD.tar.lzma  | tar xvp -X /usr/local/pcbsd/scripts/excUpgrade -f - >&1 2>&1
 
 #Reset LANG
 LANG="$LANGOLD"



More information about the Commits mailing list