From 1ec11c202a4a9e4c569ff56458fcc91444b88179 Mon Sep 17 00:00:00 2001 From: Eric Edgar Date: Wed, 27 Apr 2005 21:31:05 +0000 Subject: [PATCH] change the portage_overlay to an array so it always works git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@631 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 6 +++++- modules/generic_stage_target.py | 5 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 600d262b..6f99e090 100644 --- 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.243 2005/04/27 21:04:01 rocket Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.244 2005/04/27 21:31:05 rocket Exp $ + + 27 Apr 2005; Eric Edgar + modules/generic_stage_target.py: + change the portage_overlay to an array so it always works 27 Apr 2005; Eric Edgar catalyst, modules/catalyst_support.py: diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index e9ac5b38..43fb55c8 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -1,6 +1,6 @@ # Copyright 1999-2004 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.41 2005/04/27 17:44:58 rocket Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/modules/generic_stage_target.py,v 1.42 2005/04/27 21:31:05 rocket Exp $ """ This class does all of the chroot setup, copying of files, etc. It is @@ -507,8 +507,9 @@ class generic_stage_target(generic_target): # copy over the portage overlays # Always copy over the overlay incase it has changed if self.settings.has_key("portage_overlay"): + print self.settings["portage_overlay"] if type(self.settings["portage_overlay"])==types.StringType: - self.settings[self.settings["portage_overlay"]]=[self.settings["portage_overlay"]] + self.settings["portage_overlay"]=[self.settings["portage_overlay"]] for x in self.settings["portage_overlay"]: if os.path.exists(x): -- 2.26.2