Most recent kernel where this bug did not occur: Distribution: Debian Sarge/Etch Hardware Environment: x86 Software Environment: Problem Description: Debian's modules explicitly depend on 'linux-image-_KVERS_' while the in-tree .deb kernel packager sets the 'Provides:' field to 'kernel-image-_KVERS_'. Hence kernels packaged by deb-pkg fail dependencies check for Debian's modules .deb. I suggest to apply the following patch: --- scripts/package/builddeb.orig 2007-08-26 16:02:07.000000000 +0200 +++ scripts/package/builddeb 2007-08-26 15:58:47.000000000 +0200 @@ -83,7 +83,7 @@ Standards-Version: 3.6.1 Package: $packagename -Provides: kernel-image-$version +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 @@ -105,7 +105,7 @@ Standards-Version: 3.6.1 Package: $packagename -Provides: kernel-image-$version +Provides: kernel-image-$version, linux-image-$version Architecture: any Description: Linux kernel, version $version This package contains the Linux kernel, modules and corresponding other
> > I suggest to apply the following patch: I do not keep much track of this. Care so sent me a proper signed-off patch then I will apply it. Sam
noproblem, but is that really needed even for a 1word patch copied from a Debian package src? #---------------- 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> --- a/linux/scripts/package/builddeb 2007-08-26 16:02:07.000000000 +0200 +++ b/linux/scripts/package/builddeb 2007-08-26 15:58:47.000000000 +0200 @@ -83,7 +83,7 @@ Standards-Version: 3.6.1 Package: $packagename -Provides: kernel-image-$version +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 @@ -105,7 +105,7 @@ Standards-Version: 3.6.1 Package: $packagename -Provides: kernel-image-$version +Provides: kernel-image-$version, linux-image-$version Architecture: any Description: Linux kernel, version $version This package contains the Linux kernel, modules and corresponding other
On Wed, Aug 29, 2007 at 07:57:41AM -0700, bugme-daemon@bugzilla.kernel.org wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=8941 > > > > > > ------- Comment #2 from oopla@users.sf.net 2007-08-29 07:57 ------- > noproblem, but is that really needed even for a 1word patch copied from a > Debian package src? > > #---------------- > 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> There were no Provides: line in -linus kernel tree so I just added the full line. Sam
Fixed and included in mainline: http://git.kernel.org/?p=linux/kernel/git/sam/kbuild.git;a=commit;h=6f67a00498abf8f0b29c2cecfce188c70be309d0
The above link is no longer valid. This is better: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6f67a00498abf8f0b29c2cecfce188c70be309d0