[kernel] r9346 - in people/waldi/dkt/lib/dkt: config hooks hooks/modules
Bastian Blank
waldi at alioth.debian.org
Wed Aug 22 17:49:48 UTC 2007
Author: waldi
Date: Wed Aug 22 17:49:47 2007
New Revision: 9346
Log:
lib/dkt: Update.
Added:
people/waldi/dkt/lib/dkt/hooks/__init__.py
people/waldi/dkt/lib/dkt/hooks/modules/
people/waldi/dkt/lib/dkt/hooks/registry.py
Modified:
people/waldi/dkt/lib/dkt/config/interfaces.py
people/waldi/dkt/lib/dkt/hooks/interfaces.py
Modified: people/waldi/dkt/lib/dkt/config/interfaces.py
==============================================================================
--- people/waldi/dkt/lib/dkt/config/interfaces.py (original)
+++ people/waldi/dkt/lib/dkt/config/interfaces.py Wed Aug 22 17:49:47 2007
@@ -32,3 +32,7 @@
def set(section, option, value):
pass
+class IOrderedMutableConfig(IMutableConfig):
+ def append_section(section, data = {}):
+ pass
+
Added: people/waldi/dkt/lib/dkt/hooks/__init__.py
==============================================================================
Modified: people/waldi/dkt/lib/dkt/hooks/interfaces.py
==============================================================================
--- people/waldi/dkt/lib/dkt/hooks/interfaces.py (original)
+++ people/waldi/dkt/lib/dkt/hooks/interfaces.py Wed Aug 22 17:49:47 2007
@@ -0,0 +1,32 @@
+from dkt.interfaces import Interface, implements
+
+class IHool(Interface):
+ pass
+
+class IHookRunAll(IHook):
+ pass
+
+class IHookRunFirst(IHook):
+ pass
+
+class IPrepare(IHookRunAll):
+ pass
+
+class IImageTask(IHookRunAll):
+ pass
+
+class ISystemTask(IHookRunAll):
+ pass
+
+class IBootConfigPrepare(IHookRunAll):
+ pass
+
+class IBootConfigPartition(IHookRunAll):
+ pass
+
+class IBootConfigSort(IHookRunFirst):
+ pass
+
+class IBootConfigDeploy(IHookRunFirst):
+ pass
+
Added: people/waldi/dkt/lib/dkt/hooks/registry.py
==============================================================================
--- (empty file)
+++ people/waldi/dkt/lib/dkt/hooks/registry.py Wed Aug 22 17:49:47 2007
@@ -0,0 +1,3 @@
+class Registry(object):
+ pass
+
More information about the Kernel-svn-changes
mailing list