fix livecd-stage2 unpack when seedcache is turned off
authorEric Edgar <rocket@gentoo.org>
Mon, 10 Oct 2005 19:14:18 +0000 (19:14 +0000)
committerEric Edgar <rocket@gentoo.org>
Mon, 10 Oct 2005 19:14:18 +0000 (19:14 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@854 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
modules/generic_stage_target.py

index afa33cd7587f557cd097a8a0d31628a729b60ade..747af3d76586c412f131b9b14da8d6f31e4622f4 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.346 2005/10/10 19:05:24 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.347 2005/10/10 19:14:18 rocket Exp $
+
+  10 Oct 2005; Eric Edgar <rocket@gentoo.org>
+  modules/generic_stage_target.py:
+  fix livecd-stage2 unpack when seedcache is turned off
 
   10 Oct 2005; Chris Gianelloni <wolf31o2@gentoo.org>
   targets/support/functions.sh:
index 89cd3e65cba0c42a5e001317c853d622a638aee1..a192f2dbe23131bab76a7be3e841b721b583bfb8 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.62 2005/10/10 19:02:48 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.63 2005/10/10 19:14:18 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") and os.path.isdir(self.settings["source_path"]): 
+               if self.settings.has_key("SEEDCACHE") or 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"