# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/embedded_target.py,v 1.14 2005/08/09 14:12:26 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/embedded_target.py,v 1.15 2005/11/02 21:54:29 rocket Exp $
"""
This class works like a 'stage3'. A stage2 tarball is unpacked, but instead
def __init__(self,spec,addlargs):
self.required_values=[]
self.valid_values=[]
- self.valid_values.extend(["embedded/empty","embedded/rm","embedded/unmerge","embedded/fs-prepare","embedded/fs-finish","embedded/mergeroot","embedded/packages","embedded/use","embedded/fs-type","embedded/runscript","boot/kernel"])
-
+ self.valid_values.extend(["embedded/empty","embedded/rm","embedded/unmerge","embedded/fs-prepare","embedded/fs-finish","embedded/mergeroot","embedded/packages","embedded/fs-type","embedded/runscript","boot/kernel"])
+ self.valid_values.extend(["embedded/use"])
if addlargs.has_key("embedded/fs-type"):
self.valid_values.append("embedded/fs-ops")
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/livecd_stage1_target.py,v 1.16 2005/09/08 20:20:03 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/livecd_stage1_target.py,v 1.17 2005/11/02 21:54:29 rocket Exp $
"""
Builder class for LiveCD stage1.
class livecd_stage1_target(generic_stage_target):
def __init__(self,spec,addlargs):
- self.required_values=["livecd/packages","livecd/use"]
+ self.required_values=["livecd/packages"]
self.valid_values=self.required_values[:]
# Add optional livecd/type field for extra specific stuff
- self.valid_values.extend(["livecd/type"])
+ self.valid_values.extend(["livecd/type","livecd/use"])
generic_stage_target.__init__(self,spec,addlargs)
def set_action_sequence(self):
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/modules/tinderbox_target.py,v 1.12 2005/10/06 21:00:03 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/modules/tinderbox_target.py,v 1.13 2005/11/02 21:54:29 rocket Exp $
"""
builder class for the tinderbox target
class tinderbox_target(generic_stage_target):
def __init__(self,spec,addlargs):
- self.required_values=["tinderbox/packages","tinderbox/use"]
+ self.required_values=["tinderbox/packages"]
self.valid_values=self.required_values[:]
+ self.valid_values.extend(["tinderbox/use"])
generic_stage_target.__init__(self,spec,addlargs)
def run_local(self):