From: Andrew Gaffney Date: Wed, 22 Aug 2007 00:57:08 +0000 (+0000) Subject: 'chost' option is only valid in stage 1/2 specs. have catalyst error otherwise X-Git-Tag: CATALYST_2_0_6_916~257 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9e1e28e5d1ade24659878070fc63b8c668a8856b;p=catalyst.git 'chost' option is only valid in stage 1/2 specs. have catalyst error otherwise git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1237 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/ChangeLog b/ChangeLog index ef3be530..461ffc69 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,11 @@ # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 # $Id: $ + 22 Aug 2007; Andrew Gaffney + modules/generic_stage_target.py, modules/stage1_target.py, + modules/stage2_target.py: + 'chost' option is only valid in stage 1/2 specs. have catalyst error otherwise + 13 Aug 2007; Andrew Gaffney catalyst, modules/generic_stage_target.py, modules/netboot2_target.py: Fix typo in getopt call for --clear-autoresume. thanks to diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index f9e3eca5..8f8f6a78 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -17,7 +17,7 @@ class generic_stage_target(generic_target): self.valid_values.extend(["version_stamp","target","subarch",\ "rel_type","profile","snapshot","source_subpath","portage_confdir",\ - "cflags","cxxflags","ldflags","cbuild","chost","hostuse","portage_overlay",\ + "cflags","cxxflags","ldflags","cbuild","hostuse","portage_overlay",\ "distcc_hosts","makeopts","pkgcache_path","kerncache_path"]) self.set_valid_build_kernel_vars(addlargs) diff --git a/modules/stage1_target.py b/modules/stage1_target.py index a2bee1b6..04233d91 100644 --- a/modules/stage1_target.py +++ b/modules/stage1_target.py @@ -9,7 +9,7 @@ from generic_stage_target import * class stage1_target(generic_stage_target): def __init__(self,spec,addlargs): self.required_values=[] - self.valid_values=[] + self.valid_values=["chost"] generic_stage_target.__init__(self,spec,addlargs) def set_stage_path(self): diff --git a/modules/stage2_target.py b/modules/stage2_target.py index 573bf8a9..f22457d6 100644 --- a/modules/stage2_target.py +++ b/modules/stage2_target.py @@ -9,7 +9,7 @@ from generic_stage_target import * class stage2_target(generic_stage_target): def __init__(self,spec,addlargs): self.required_values=[] - self.valid_values=[] + self.valid_values=["chost"] generic_stage_target.__init__(self,spec,addlargs) def set_source_path(self):