# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.490 2005/12/23 06:38:18 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.491 2005/12/28 11:56:17 rocket Exp $
+
+ 28 Dec 2005; Eric Edgar <rocket@gentoo.org>
+ modules/generic_stage_target.py, modules/stage4_target.py:
+ Fix for bug 116305;removed unnecessary pkgcache_path processing from the
+ stage4 target
23 Dec 2005; Eric Edgar <rocket@gentoo.org> arch/sh.py,
modules/generic_stage_target.py, modules/stage4_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.107 2005/12/23 06:38:18 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.108 2005/12/28 11:56:17 rocket Exp $
"""
This class does all of the chroot setup, copying of files, etc. It is
raise CatalystError, "source_subpath should have been a string. Perhaps you have something wrong in your spec file?"
def set_pkgcache_path(self):
+ if self.settings.has_key("pkgcache_path"):
+ if type(self.settings["pkgcache_path"]) != types.StringType:
+ self.settings["pkgcache_path"]=normpath(string.join(self.settings["pkgcache_path"]))
+
self.settings["pkgcache_path"]=normpath(self.settings["storedir"]+"/packages/"+\
self.settings["target_subpath"]+"/")
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/stage4_target.py,v 1.14 2005/12/23 06:38:18 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/stage4_target.py,v 1.15 2005/12/28 11:56:17 rocket Exp $
"""
Builder class for LiveCD stage1.
"stage4/rcadd","stage4/rcdel","chost","cflags","ldflags","cxxflags"])
generic_stage_target.__init__(self,spec,addlargs)
- def set_pkgcache_path(self):
- if self.settings.has_key("pkgcache_path"):
- if type(self.settings["pkgcache_path"]) != types.StringType:
- self.settings["pkgcache_path"]=normpath(string.join(self.settings["pkgcache_path"]))
- else:
- generic_stage_target.set_pkgcache_path(self)
-
def set_cleanables(self):
self.settings["cleanables"]=["/var/tmp/*","/tmp/*"]