# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 02 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
+ modules/snapshot_target.py:
+ Add .svn to the catalyst snapshot excludes and remove old pordir_overlay code.
+
02 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org>
targets/stage1/stage1-chroot.sh:
As much as I hate this, we're going to force baselayout to install first.
if not os.path.exists(mytmp):
os.makedirs(mytmp)
- cmd("rsync -a --delete --exclude /packages/ --exclude /distfiles/ --exclude /local/ --exclude CVS/ "+\
+ cmd("rsync -a --delete --exclude /packages/ --exclude /distfiles/ --exclude /local/ --exclude CVS/ --include .svn "+\
self.settings["portdir"]+"/ "+mytmp+"/portage/","Snapshot failure",env=self.env)
- #if self.settings.has_key("portdir_overlay"):
- #print "Adding Portage overlay to the snapshot..."
- #cmd("rsync -a --exclude /packages/ --exclude /distfiles/ --exclude /local/ --exclude CVS/ "+\
- # self.settings["portdir_overlay"]+"/ "+mytmp+"/portage/","Snapshot/ overlay addition failure",\
- # env=self.env)
-
print "Compressing Portage snapshot tarball..."
cmd("tar cjf "+self.settings["snapshot_path"]+" -C "+mytmp+" portage",\
"Snapshot creation failure",env=self.env)