Correct a rsync issue when the directory doesnt exist
authorEric Edgar <rocket@gentoo.org>
Tue, 18 Oct 2005 21:12:45 +0000 (21:12 +0000)
committerEric Edgar <rocket@gentoo.org>
Tue, 18 Oct 2005 21:12:45 +0000 (21:12 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@867 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
modules/generic_stage_target.py

index 5ae9ecc5aa1e38827af6c08f8228cc1ce98dbef1..54dc09c8e36a04095899de997eedb0123f88cb28 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.359 2005/10/17 19:01:06 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.360 2005/10/18 21:12:45 rocket Exp $
+
+  18 Oct 2005; Eric Edgar <rocket@gentoo.org>
+  modules/generic_stage_target.py:
+  Correct a rsync issue when the directory doesnt exist
 
   17 Oct 2005; Eric Edgar <rocket@gentoo.org>
   modules/generic_stage_target.py, targets/embedded/embedded-controller.sh,
index f134875136e6592021d5aabbf0c67285290fa500..954ae69ee79bb97f94513fe35152c7b7bbfe8c0b 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.67 2005/10/17 19:01:06 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.68 2005/10/18 21:12:45 rocket Exp $
 
 """
 This class does all of the chroot setup, copying of files, etc. It is
@@ -476,7 +476,7 @@ class generic_stage_target(generic_target):
 
                clst_unpack_md5sum=read_from_clst(self.settings["autoresume_path"]+"unpack")
                
-               if self.settings.has_key("SEEDCACHE") or os.path.isdir(self.settings["source_path"]): 
+               if self.settings.has_key("SEEDCACHE") and os.path.isdir(self.settings["source_path"]): 
                        unpack_cmd="rsync -a --delete "+self.settings["source_path"]+" "+self.settings["chroot_path"]
                        display_msg="\nStarting rsync from "+self.settings["source_path"]+"\nto "+\
                                self.settings["chroot_path"]+" (This may take some time) ...\n"