# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.574 2006/02/14 15:53:21 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.575 2006/02/14 18:05:56 rocket Exp $
+
+ 14 Feb 2006; Eric Edgar <rocket@gentoo.org> modules/snapshot_target.py:
+ DIGESTS support for snapshot creation
14 Feb 2006; Chris Gianelloni <wolf31o2@gentoo.org> catalyst:
This is catalyst 2.0_rc38, codenamed: When will the stinking release
# Copyright 1999-2005 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.15 2005/12/21 19:39:34 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/snapshot_target.py,v 1.16 2006/02/14 18:05:56 rocket Exp $
"""
Builder class for snapshots.
print "Compressing Portage snapshot tarball..."
cmd("tar cjf "+self.settings["snapshot_path"]+" -C "+mytmp+" portage",\
"Snapshot creation failure",env=self.env)
+
+ self.gen_digest_file(self.settings["snapshot_path"])
+
self.cleanup()
print "snapshot: complete!"