[kernel] r10747 - people/waldi/dkt/bin

Bastian Blank waldi at alioth.debian.org
Sat Mar 8 21:17:45 UTC 2008


Author: waldi
Date: Sat Mar  8 21:17:44 2008
New Revision: 10747

Log:
bin/dkt-maintainer: postinst and prerm works.


Modified:
   people/waldi/dkt/bin/dkt-maintainer

Modified: people/waldi/dkt/bin/dkt-maintainer
==============================================================================
--- people/waldi/dkt/bin/dkt-maintainer	(original)
+++ people/waldi/dkt/bin/dkt-maintainer	Sat Mar  8 21:17:44 2008
@@ -80,7 +80,8 @@
     def __call__(self):
         self.run_systemtask()
         self.run_imagetask('postinst', self.imageconfig, (self.command,) + self.args)
-        raise NotImplementedError
+        self.bootconfig_generate()
+        self.bootconfig_deploy()
 
 class MainImagePreRm(MainAllPreRm):
     def __init__(self, *args):
@@ -95,7 +96,12 @@
     def __call__(self):
         self.run_systemtask()
         self.run_imagetask('prerm', self.imageconfig, (self.command,) + self.args)
-        raise NotImplementedError
+        self.bootconfig_generate()
+        for i in self.bootconfig:
+            if i.config.package == self.package:
+                self.bootconfig.remove(i)
+                break
+        self.bootconfig_deploy()
 
 class MainImagePostRm(MainAllPostRm):
     def __call__(self):



More information about the Kernel-svn-changes mailing list