# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.571 2006/02/14 00:04:13 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.572 2006/02/14 15:29:39 rocket Exp $
+
+ 14 Feb 2006; Eric Edgar <rocket@gentoo.org>
+ modules/generic_stage_target.py:
+ fix for failure when root_overlay is not set
14 Feb 2006; Chris Gianelloni <wolf31o2@gentoo.org>
targets/support/bootloader-setup.sh:
# 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.128 2006/02/10 23:01:21 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.129 2006/02/14 15:29:39 rocket Exp $
"""
This class does all of the chroot setup, copying of files, etc. It is
def root_overlay(self):
# copy over the root_overlay
# Always copy over the overlay incase it has changed
- for x in self.settings[self.settings["spec_prefix"]+"/root_overlay"]:
- if os.path.exists(x):
- if self.settings.has_key(self.settings["spec_prefix"]+"/root_overlay"):
+ if self.settings.has_key(self.settings["spec_prefix"]+"/root_overlay"):
+ for x in self.settings[self.settings["spec_prefix"]+"/root_overlay"]:
+ if os.path.exists(x):
print "Copying root_overlay: "+x
cmd("rsync -a "+x+"/ "+\
- self.settings["chroot_path"], self.settings["spec_prefix"]+"/root_overlay: "+x+" copy failed.",env=self.env)
+ self.settings["chroot_path"], self.settings["spec_prefix"]+"/root_overlay: "+x+" copy failed.",env=self.env)
def bind(self):
for x in self.mounts: