update autoresume logic when dealing with rsync unpack operations
authorEric Edgar <rocket@gentoo.org>
Mon, 10 Oct 2005 20:38:03 +0000 (20:38 +0000)
committerEric Edgar <rocket@gentoo.org>
Mon, 10 Oct 2005 20:38:03 +0000 (20:38 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@858 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
modules/generic_stage_target.py

index f50c9a9d5880c901f79ebda51ae8b228d141ef2a..28ede4bc3e014ba5f1185923e9e275456905adf8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.350 2005/10/10 20:16:52 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.351 2005/10/10 20:38:03 rocket Exp $
+
+  10 Oct 2005; Eric Edgar <rocket@gentoo.org>
+  modules/generic_stage_target.py:
+  update autoresume logic when dealing with rsync unpack operations
 
   10 Oct 2005; Eric Edgar <rocket@gentoo.org>
   targets/support/post-kmerge.sh:
index c0c27fb0df76b9c5680b6a79cc27a6d971b646e8..8883375784cfd87e4d2e01b978289868db4e78a4 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/generic_stage_target.py,v 1.64 2005/10/10 19:22:26 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.65 2005/10/10 20:38:03 rocket Exp $
 
 """
 This class does all of the chroot setup, copying of files, etc. It is
@@ -491,7 +491,7 @@ class generic_stage_target(generic_target):
                
                
                if self.settings.has_key("AUTORESUME"):
-                   if self.settings.has_key("SEEDCACHE") and \
+                   if os.path.isdir(self.settings["source_path"]) and \
                            os.path.exists(self.settings["autoresume_path"]+"unpack"):
                                print "Resume point detected, skipping unpack operation..."
                                unpack=False