From: Chris Gianelloni Date: Fri, 4 Feb 2005 16:46:42 +0000 (+0000) Subject: Added /local/ to snapshot exclusion. X-Git-Tag: CATALYST_2_0_6_916~829 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=db776f094c2fc95a966a63ec5f5e89a8642f2e9d;p=catalyst.git Added /local/ to snapshot exclusion. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@544 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/ChangeLog b/ChangeLog index e5254eb9..4bb06a75 100644 --- 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 + modules/snapshot_target.py: + Added /local/ to snapshot exclusion. 31 Jan 2005; Chris Gianelloni livecd/runscript-support/livecdfs-update.sh: diff --git a/modules/snapshot_target.py b/modules/snapshot_target.py index 7ec4a94d..85cfa89f 100644 --- a/modules/snapshot_target.py +++ b/modules/snapshot_target.py @@ -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..."