[kernel] r7219 - dists/trunk/linux-modules-extra-2.6/debian/bin

Bastian Blank waldi at costa.debian.org
Mon Aug 21 22:07:42 UTC 2006


Author: waldi
Date: Mon Aug 21 22:07:39 2006
New Revision: 7219

Modified:
   dists/trunk/linux-modules-extra-2.6/debian/bin/gencontrol.py

Log:
debian/bin/gencontrol.py: Adopt recent changes in linux-2.6.


Modified: dists/trunk/linux-modules-extra-2.6/debian/bin/gencontrol.py
==============================================================================
--- dists/trunk/linux-modules-extra-2.6/debian/bin/gencontrol.py	(original)
+++ dists/trunk/linux-modules-extra-2.6/debian/bin/gencontrol.py	Mon Aug 21 22:07:39 2006
@@ -18,10 +18,10 @@
         vars = self.vars
 
         packages['source']['Build-Depends'].extend(
-            ['linux-support-%s%s' % (self.version['upstream'], self.abiname)]
+            ['linux-support-%s%s' % (self.version['linux']['upstream'], self.abiname)]
         )
         packages['source']['Build-Depends'].extend(
-            ['linux-headers-%s%s-all-%s [%s]' % (self.version['upstream'], self.abiname, arch, arch)
+            ['linux-headers-%s%s-all-%s [%s]' % (self.version['linux']['upstream'], self.abiname, arch, arch)
             for arch in self.config['base',]['arches']],
         )
 
@@ -91,12 +91,12 @@
 
     def process_changelog(self):
         changelog = read_changelog()
-        version = changelog[0]['Version']
-        self.process_version(version)
-        if version['modifier'] is not None:
-            self.abiname = self.vars['abiname'] = ''
+        self.version = changelog[0]['Version']
+        if self.version['linux']['modifier'] is not None:
+            self.abiname = ''
         else:
-            self.abiname = self.vars['abiname'] = '-%s' % self.config['abi',]['abiname']
+            self.abiname = '-%s' % self.config['abi',]['abiname']
+        self.vars = self.process_version_linux(self.version, self.abiname)
 
 class config_reader_modules(config.config_reader):
     schema_base = {



More information about the Kernel-svn-changes mailing list