[PC-BSD Commits] r17388 - pcbsd/current/src-sh/pc-updatemanager/scripts

svn at pcbsd.org svn at pcbsd.org
Sat Jun 23 10:34:05 PDT 2012


Author: kris
Date: 2012-06-23 17:34:03 +0000 (Sat, 23 Jun 2012)
New Revision: 17388

Modified:
   pcbsd/current/src-sh/pc-updatemanager/scripts/mu-stage1
Log:

Exclude ./proc in extraction, to avoid tar complaints



Modified: pcbsd/current/src-sh/pc-updatemanager/scripts/mu-stage1
===================================================================
--- pcbsd/current/src-sh/pc-updatemanager/scripts/mu-stage1	2012-06-23 16:37:18 UTC (rev 17387)
+++ pcbsd/current/src-sh/pc-updatemanager/scripts/mu-stage1	2012-06-23 17:34:03 UTC (rev 17388)
@@ -54,7 +54,6 @@
   fi
 done
 
-
 # Start extracting the boot
 echo -e "Extracting kernel and boot environment...\c"
 echo "Extracting kernel and boot environment..." >>${LOGFILE}
@@ -105,6 +104,9 @@
 # Exclude ./boot in extract, already done
 echo "./boot" >> ${STAGEDIR}/xtra-data/upgrade-excludes
 
+# Exclude /proc in extraction
+echo "./proc" >> ${STAGEDIR}/xtra-data/upgrade-excludes
+
 tar xvpf ${STAGEDIR}/PCBSD.txz -X ${STAGEDIR}/xtra-data/upgrade-excludes >/dev/null 2>>${LOGFILE}
 if [ $? -eq 0 ] ; then
   echo "DONE"



More information about the Commits mailing list