Author: waldi Date: Sat Mar 8 19:47:25 2008 New Revision: 10742 Log: lib/dkt/hooks/modules/backward_config_boot.py: Set initramfs filename in config.
Modified: people/waldi/dkt/lib/dkt/hooks/modules/backward_config_boot.py Modified: people/waldi/dkt/lib/dkt/hooks/modules/backward_config_boot.py ============================================================================== --- people/waldi/dkt/lib/dkt/hooks/modules/backward_config_boot.py (original) +++ people/waldi/dkt/lib/dkt/hooks/modules/backward_config_boot.py Sat Mar 8 19:47:25 2008 @@ -33,18 +33,18 @@ for l in configs.itervalues(): if IImageBaseConfig(l).file == image_file: - return self._update_config(l, data) + return self._update_config(l, *data) return self._add_config(configs, version, *data) - def _update_config(self, config, data): - symlinks_file = data[2] - + def _update_config(self, config, image_file, initramfs_file, symlinks_file): config = IMutableConfig(config) if symlinks_file is not None: config.add_section('backward-compatibility') config.set('backward-compatibility', 'symlink-file', symlinks_file) + config.add_section('initramfs') + config.set('initramfs', 'file', initramfs_file) def _get_files(self): ret = ([], [], [], []) _______________________________________________ Kernel-svn-changes mailing list Kernel-svn-changes@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes