Added /local/ to snapshot exclusion.
authorChris Gianelloni <wolf31o2@gentoo.org>
Fri, 4 Feb 2005 16:46:42 +0000 (16:46 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Fri, 4 Feb 2005 16:46:42 +0000 (16:46 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@544 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
modules/snapshot_target.py

index e5254eb9ac4b9e0f6e2c29a0b7efbe7895f9d934..4bb06a750c8649df63d1e7989b3fc4cf3af40ee8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 # ChangeLog for gentoo/src/catalyst 
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.170 2005/01/31 13:46:59 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.171 2005/02/04 16:46:42 wolf31o2 Exp $
+
+  04 Feb 2005; Chris Gianelloni <wolf31o2@gentoo.org>
+  modules/snapshot_target.py:
+  Added /local/ to snapshot exclusion.
 
   31 Jan 2005; Chris Gianelloni <wolf31o2@gentoo.org>
   livecd/runscript-support/livecdfs-update.sh:
index 7ec4a94d03da6c10db43cd4d45eae2d555ff5863..85cfa89fba5b5b1bc62f8f11b98d7d4bdcc858b9 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/snapshot_target.py,v 1.5 2004/10/15 02:27:58 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/snapshot_target.py,v 1.6 2005/02/04 16:46:42 wolf31o2 Exp $
 
 """
 Builder class for snapshots.
@@ -37,12 +37,12 @@ class snapshot_target(generic_target):
                if not os.path.exists(mytmp):
                        os.makedirs(mytmp)
                
-               cmd("rsync -a --delete --exclude /packages/ --exclude /distfiles/ --exclude CVS/ "+\
+               cmd("rsync -a --delete --exclude /packages/ --exclude /distfiles/ --exlude /local/ --exclude CVS/ "+\
                        self.settings["portdir"]+"/ "+mytmp+"/portage/","Snapshot failure")
                
                if self.settings.has_key("portdir_overlay"):
                        print "Adding Portage overlay to the snapshot..."
-                       cmd("rsync -a --exclude /packages/ --exclude /distfiles/ --exclude CVS/ "+\
+                       cmd("rsync -a --exclude /packages/ --exclude /distfiles/ --exclude /local/ --exclude CVS/ "+\
                                self.settings["portdir_overlay"]+"/ "+mytmp+"/portage/","Snapshot/ overlay addition failure")
                        
                print "Compressing Portage snapshot tarball..."