Author: waldi
Date: Sat Mar  8 21:27:43 2008
New Revision: 10749

Log:
lib/dkt/bootconfig: Add all image configs.


Modified:
   people/waldi/dkt/lib/dkt/bootconfig/base.py
   people/waldi/dkt/lib/dkt/bootconfig/interfaces.py
   people/waldi/dkt/lib/dkt/bootconfig/linux.py

Modified: people/waldi/dkt/lib/dkt/bootconfig/base.py
==============================================================================
--- people/waldi/dkt/lib/dkt/bootconfig/base.py (original)
+++ people/waldi/dkt/lib/dkt/bootconfig/base.py Sat Mar  8 21:27:43 2008
@@ -6,8 +6,8 @@
 class BootConfigBase(object):
     implements(IBootBaseConfig)
 
-    def __init__(self, config):
-        self.config = config
+    def __init__(self, configs):
+        self.configs = configs
 
     def __cmp__(self, other):
         if other is None:

Modified: people/waldi/dkt/lib/dkt/bootconfig/interfaces.py
==============================================================================
--- people/waldi/dkt/lib/dkt/bootconfig/interfaces.py   (original)
+++ people/waldi/dkt/lib/dkt/bootconfig/interfaces.py   Sat Mar  8 21:27:43 2008
@@ -4,12 +4,12 @@
     features = Attribute("")
     version = Attribute("")
 
+    configs = Attribute("")
+
 class IBootMainConfig(IBootBaseConfig):
     kernel_entry = Attribute("")
     initrd_file = Attribute("")
 
-    config = Attribute("")
-
 class IBootMultibootConfig(IBootBaseConfig):
     kernel_entry = Attribute("")
     module_entries = Attribute("")

Modified: people/waldi/dkt/lib/dkt/bootconfig/linux.py
==============================================================================
--- people/waldi/dkt/lib/dkt/bootconfig/linux.py        (original)
+++ people/waldi/dkt/lib/dkt/bootconfig/linux.py        Sat Mar  8 21:27:43 2008
@@ -9,7 +9,8 @@
     implements(IBootMainConfig)
 
     def __init__(self, config):
-        super(BootConfigLinux, self).__init__(config)
+        super(BootConfigLinux, self).__init__([config])
+        self.config = config
 
         self.kernel_entry = BootEntry(IImageBaseConfig(self.config).file, "")
 

_______________________________________________
Kernel-svn-changes mailing list
Kernel-svn-changes@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes

Reply via email to