[kernel] r10596 - people/waldi/dkt/lib/dkt/hooks
Bastian Blank
waldi at alioth.debian.org
Tue Feb 19 13:46:47 UTC 2008
Author: waldi
Date: Tue Feb 19 13:46:46 2008
New Revision: 10596
Log:
lib/dkt/hooks/interfaces.py: Reorganize.
Modified:
people/waldi/dkt/lib/dkt/hooks/interfaces.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 Tue Feb 19 13:46:46 2008
@@ -12,16 +12,6 @@
class IHookRunFirst(IHook):
pass
-class IImageConfig(IHookRunAll):
- def image_config(imageconfigs, systemconfig):
- pass
-
-class IImageTask(IHookRunAll):
- pass
-
-class ISystemTask(IHookRunAll):
- pass
-
class IBootConfigPrepare(IHookRunAllArg):
def boot_config_prepare(bootconfigs, systemconfig, imageconfigs):
pass
@@ -38,3 +28,34 @@
def boot_config_deploy(bootconfigs, systemconfig):
pass
+class IImageConfig(IHookRunAll):
+ def image_config(imageconfigs, systemconfig):
+ pass
+
+class IImageTask(IHookRunAll):
+ def preinst(self, systemconfig, imageconfig):
+ pass
+
+ def postinst(self, systemconfig, imageconfig):
+ pass
+
+ def prerm(self, systemconfig, imageconfig):
+ pass
+
+ def postrm(self, systemconfig, imageconfig):
+ pass
+
+class ISystemTask(IHookRunAll):
+ def preinst(self, systemconfig, imageconfigs):
+ pass
+
+ def postinst(self, systemconfig, imageconfigs):
+ pass
+
+ def prerm(self, systemconfig, imageconfigs):
+ pass
+
+ def postrm(self, systemconfig, imageconfigs):
+ pass
+
+
More information about the Kernel-svn-changes
mailing list