Author: waldi Date: Sat Mar 8 21:17:26 2008 New Revision: 10746 Log: lib/dkt/bootconfig/hooks.py: Add new hook.
Modified: people/waldi/dkt/lib/dkt/bootconfig/hooks.py Modified: people/waldi/dkt/lib/dkt/bootconfig/hooks.py ============================================================================== --- people/waldi/dkt/lib/dkt/bootconfig/hooks.py (original) +++ people/waldi/dkt/lib/dkt/bootconfig/hooks.py Sat Mar 8 21:17:26 2008 @@ -3,6 +3,12 @@ class HookPartitionRescue(object): def boot_config_partition(self, bootconfigs, systemconfig): + # TODO + return bootconfigs + +class HookPartitionSystemconfig(object): + def boot_config_partition(self, bootconfigs, systemconfig): + # TODO return bootconfigs class HookSort(object): @@ -13,5 +19,6 @@ ret.extend(i) return ret -register('bootconfig-partition-rescue', IBootConfigPartition, HookPartitionRescue(), default_registry.PRIORITY_FIRST) +register('bootconfig-partition-rescue', IBootConfigPartition, HookPartitionRescue(), default_registry.PRIORITY_LAST) +register('bootconfig-partition-systemconfig', IBootConfigPartition, HookPartitionSystemconfig(), default_registry.PRIORITY_FIRST) register('bootconfig-sort', IBootConfigSort, HookSort(), default_registry.PRIORITY_LAST) _______________________________________________ Kernel-svn-changes mailing list Kernel-svn-changes@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes