# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.425 2005/12/05 18:13:12 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.426 2005/12/05 19:24:48 rocket Exp $
+
+ 05 Dec 2005; Eric Edgar <rocket@gentoo.org>
+ modules/generic_stage_target.py:
+ Fixes for env
05 Dec 2005; Eric Edgar <rocket@gentoo.org> catalyst, files/catalyst.1,
modules/catalyst_support.py, modules/generic_stage_target.py,
# 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.88 2005/12/05 18:13:12 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.89 2005/12/05 19:24:48 rocket Exp $
"""
This class does all of the chroot setup, copying of files, etc. It is
self.valid_values.extend(["version_stamp","target","subarch","rel_type","profile",\
"snapshot","source_subpath","portage_confdir","cflags","cxxflags","chost","hostuse"])
generic_target.__init__(self,addlargs,myspec)
-
+ self.env={}
# map the mainarch we are running under to the mainarches we support for
# building stages and LiveCDs. (for example, on amd64, we can build stages for
# x86 or amd64.
else:
# first clean up any existing target stuff
if os.path.isfile(self.settings["target_path"]):
- cmd("rm -f "+self.settings["target_path"],
+ cmd("rm -f "+self.settings["target_path"],\
"Could not remove existing file: "+self.settings["target_path"],env=self.env)
touch(self.settings["autoresume_path"]+"setup_target_path")