[kernel] r15400 - in dists/sid/linux-latest-2.6/debian: . bin templates

Maximilian Attems maks at alioth.debian.org
Tue Mar 16 18:53:04 UTC 2010


Author: maks
Date: Tue Mar 16 18:52:55 2010
New Revision: 15400

Log:
linux-latest-2.6: add Meta-packages for latest doc and sources

Hi Maximilain,

Am Dienstag, den 16.03.2010, 15:47 +0100 schrieb maximilian attems:
> On Tue, Mar 16, 2010 at 02:41:16PM +0100, Joachim Breitner wrote:
> > I???d like to amend this wishlist bug report. I???d find it very useful to
> > have a linux-doc-2.6 meta package automatically pulling in the latest
> > -doc package, corresponding to the installed kernel. Same thing with a
> > linux-source-2.6 meta packages.
> >
> > Are there any issues with this approach? Or is it just that someone has
> > to write the code?
>
> yep it is low priority, probably you just need to add some entry
> to linux-latest-2.6, feel free to submit patch against sid svn branch.

I gave it a shot. Patch against latest svn is attached, here is the
resulting change to the generated control file:

As crappy svn will loos author info, this is
From: Joachim Breitner <nomeata at debian.org>

Added:
   dists/sid/linux-latest-2.6/debian/templates/control.doc.latest.in
   dists/sid/linux-latest-2.6/debian/templates/control.source.latest.in
Modified:
   dists/sid/linux-latest-2.6/debian/bin/gencontrol.py
   dists/sid/linux-latest-2.6/debian/changelog

Modified: dists/sid/linux-latest-2.6/debian/bin/gencontrol.py
==============================================================================
--- dists/sid/linux-latest-2.6/debian/bin/gencontrol.py	Tue Mar 16 16:03:31 2010	(r15399)
+++ dists/sid/linux-latest-2.6/debian/bin/gencontrol.py	Tue Mar 16 18:52:55 2010	(r15400)
@@ -31,6 +31,12 @@
             ['linux-support-%s%s' % (self.version.linux_upstream, self.abiname)]
         )
 
+        latest_source = self.templates["control.source.latest"][0]
+        packages.append(self.process_package(latest_source, vars))
+
+        latest_doc = self.templates["control.doc.latest"][0]
+        packages.append(self.process_package(latest_doc, vars))
+
     def do_flavour_packages(self, packages, makefile, arch, featureset, flavour, vars, makeflags, extra):
         config_base = self.config.merge('base', arch, featureset, flavour)
         config_description = self.config.merge('description', arch, featureset, flavour)

Modified: dists/sid/linux-latest-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-latest-2.6/debian/changelog	Tue Mar 16 16:03:31 2010	(r15399)
+++ dists/sid/linux-latest-2.6/debian/changelog	Tue Mar 16 18:52:55 2010	(r15400)
@@ -1,3 +1,9 @@
+linux-latest-2.6 (26) UNRELEASED; urgency=low
+
+  * Create linux-doc-2.6 and linux-source-2.6 meta packages (Closes: 347284)
+
+ -- Joachim Breitner <nomeata at debian.org>  Tue, 16 Mar 2010 17:12:42 +0100
+
 linux-latest-2.6 (25) unstable; urgency=high
 
   * Update package description templates in line with linux-2.6.

Added: dists/sid/linux-latest-2.6/debian/templates/control.doc.latest.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/sid/linux-latest-2.6/debian/templates/control.doc.latest.in	Tue Mar 16 18:52:55 2010	(r15400)
@@ -0,0 +1,7 @@
+Package: linux-doc- at major@
+Depends: linux-doc- at upstreamversion@
+Provides: linux-doc
+Description: Linux kernel specific documentation for version @major@
+ This package depends on the package containing the documentation for the
+ latest Linux kernel @major at .
+

Added: dists/sid/linux-latest-2.6/debian/templates/control.source.latest.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/sid/linux-latest-2.6/debian/templates/control.source.latest.in	Tue Mar 16 18:52:55 2010	(r15400)
@@ -0,0 +1,7 @@
+Package: linux-source- at major@
+Depends: linux-source- at upstreamversion@
+Provides: linux-source
+Description: Linux kernel source for Linux @major@
+ This package depends on packages containing the sources of the latest Linux
+ kernel @major at .
+



More information about the Kernel-svn-changes mailing list