From 207960e6f92c9bcb8c6a11d6f00705fae8785f0a Mon Sep 17 00:00:00 2001 From: Eric Edgar Date: Thu, 8 Sep 2005 20:20:03 +0000 Subject: [PATCH] Add optional livecd/type env var for scripts to add optional items to the scripts git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@834 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 7 ++++++- modules/livecd_stage1_target.py | 5 ++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2b666c2b..5a903d55 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.326 2005/09/08 19:54:13 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.327 2005/09/08 20:20:03 rocket Exp $ + + 08 Sep 2005; Eric Edgar + modules/livecd_stage1_target.py: + Add optional livecd/type env var for scripts to add optional items to the + scripts 08 Sep 2005; Chris Gianelloni -livecd/files/x86-help.msg: diff --git a/modules/livecd_stage1_target.py b/modules/livecd_stage1_target.py index 6f05e21f..05896cbf 100644 --- a/modules/livecd_stage1_target.py +++ b/modules/livecd_stage1_target.py @@ -1,6 +1,6 @@ # 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.15 2005/08/09 14:12:26 rocket Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/modules/livecd_stage1_target.py,v 1.16 2005/09/08 20:20:03 rocket Exp $ """ Builder class for LiveCD stage1. @@ -13,6 +13,9 @@ class livecd_stage1_target(generic_stage_target): def __init__(self,spec,addlargs): self.required_values=["livecd/packages","livecd/use"] self.valid_values=self.required_values[:] + + # Add optional livecd/type field for extra specific stuff + self.valid_values.extend(["livecd/type"]) generic_stage_target.__init__(self,spec,addlargs) def set_action_sequence(self): -- 2.26.2