Re: [PATCH] deb-pkg: Fix Provides field

Andres Salomon
2008-09-26T21:41:50Z

On Wed, 17 Sep 2008 22:09:50 +0200
maximilian attems <max@stro.at> wrote:

> kernel-image naming has been dropped for the Lenny release
> and was only transitional for Etch.
>
> as it builds modules it provides linux-modules-$version
>
> Cc: Andres Salomon <dilinger@debian.org>
> Signed-off-by: maximilian attems <max@stro.at>
> ---
> scripts/package/builddeb | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/scripts/package/builddeb b/scripts/package/builddeb
> index 9889a73..8c69b9e 100644
> --- a/scripts/package/builddeb
> +++ b/scripts/package/builddeb
> @@ -99,7 +99,7 @@ Maintainer: $maintainer
> Standards-Version: 3.6.1
>
> Package: $packagename
> -Provides: kernel-image-$version, linux-image-$version
> +Provides: linux-image, linux-image-2.6, linux-modules-$version

Hm, I'd recommend making the linux-modules* stuff configurable. Ubuntu's
kernel provides look like the following:

Provides: fuse-module, ivtv-modules, kvm-api-4, linux-image, linux-image-2.6, redhat-cluster-modules

> Architecture: any
> Description: User Mode Linux kernel, version $version
> User-mode Linux is a port of the Linux kernel to its own system call
> @@ -121,7 +121,7 @@ Maintainer: $maintainer
> Standards-Version: 3.6.1
>
> Package: $packagename
> -Provides: kernel-image-$version, linux-image-$version
> +Provides: linux-image, linux-image-2.6, linux-modules-$version

Ditto.

> Architecture: any
> Description: Linux kernel, version $version
> This package contains the Linux kernel, modules and corresponding
> other