summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbugme-daemon@bugzilla.kernel.org <bugme-daemon@bugzilla.kernel.org>2007-08-29 07:57:41 -0700
committerSam Ravnborg <sam@neptun.(none)>2007-10-18 15:15:53 +0200
commit6f67a00498abf8f0b29c2cecfce188c70be309d0 (patch)
tree3357e0315934b285fa9049a5f2a5ad89e931d930
parente9e40e143cf3eecc76b98f3e89db9d234e14b2be (diff)
kbuild: make deb-pkg - add 'Provides:' line
http://bugzilla.kernel.org/show_bug.cgi?id=8941 Current Debian's kernel-modules depend on matching linux-image-$version, though Linux's make deb-pkg build a .deb that 'Provides: kernel-image-$version' only. The following patch adds the Debian-compliant 'Provides', leaving the default one; hopely this will make way all happy. Signed-off-by: paolo <oopla@users.sf.net> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r--scripts/package/builddeb2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index 6edb29f2b4a6..0f657b5f3bc8 100644
--- a/scripts/package/builddeb
+++ b/scripts/package/builddeb
@@ -83,6 +83,7 @@ Maintainer: $name
Standards-Version: 3.6.1
Package: $packagename
+Provides: kernel-image-$version, linux-image-$version
Architecture: any
Description: User Mode Linux kernel, version $version
User-mode Linux is a port of the Linux kernel to its own system call
@@ -104,6 +105,7 @@ Maintainer: $name
Standards-Version: 3.6.1
Package: $packagename
+Provides: kernel-image-$version, linux-image-$version
Architecture: any
Description: Linux kernel, version $version
This package contains the Linux kernel, modules and corresponding other