Add optional livecd/type env var for scripts to add optional items to the scripts
authorEric Edgar <rocket@gentoo.org>
Thu, 8 Sep 2005 20:20:03 +0000 (20:20 +0000)
committerEric Edgar <rocket@gentoo.org>
Thu, 8 Sep 2005 20:20:03 +0000 (20:20 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@834 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
modules/livecd_stage1_target.py

index 2b666c2befa1c6ba7c80227f57a4f494dcd17af5..5a903d55ffd9bf4853ed52101d992df9c23ea844 100644 (file)
--- 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 <rocket@gentoo.org>
+  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 <wolf31o2@gentoo.org>
   -livecd/files/x86-help.msg:
index 6f05e21f46836fd3bda7f7865153112ab1f549dc..05896cbfd9764fb4f7359153391db854f1558cd4 100644 (file)
@@ -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):