DIGESTS support for snapshot creation
authorEric Edgar <rocket@gentoo.org>
Tue, 14 Feb 2006 18:05:56 +0000 (18:05 +0000)
committerEric Edgar <rocket@gentoo.org>
Tue, 14 Feb 2006 18:05:56 +0000 (18:05 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1089 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
modules/snapshot_target.py

index cf9cd1f889e90254a6f4add9c94377e124581cb8..10ce3f04f6bfcb5ec0e5b1fff7dd988d5e961c8e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 # 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
index 4915b6136dc285f060bf76a8c989b585a8644ada..502e169ff98f4c46066dd03bef342687b261845c 100644 (file)
@@ -1,6 +1,6 @@
 # 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.
@@ -59,6 +59,9 @@ class snapshot_target(generic_target):
                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!"