Commit 8ebc2fe9 authored by maximilian attems's avatar maximilian attems Committed by Sam Ravnborg

kbuild, deb-pkg: fix Provides field

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.
Signed-off-by: default avatarmaximilian attems <max@stro.at>
Signed-off-by: default avatarFrans Pop <elendil@planet.nl>
Cc: Andres Salomon <dilinger@debian.org>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent f7a2c31f
...@@ -154,7 +154,7 @@ if [ "$ARCH" = "um" ]; then ...@@ -154,7 +154,7 @@ if [ "$ARCH" = "um" ]; then
cat <<EOF >> debian/control cat <<EOF >> debian/control
Package: $packagename Package: $packagename
Provides: kernel-image-$version, linux-image-$version Provides: linux-image, linux-image-2.6, linux-modules-$version
Architecture: any Architecture: any
Description: User Mode Linux kernel, version $version Description: User Mode Linux kernel, version $version
User-mode Linux is a port of the Linux kernel to its own system call User-mode Linux is a port of the Linux kernel to its own system call
...@@ -171,7 +171,7 @@ else ...@@ -171,7 +171,7 @@ else
cat <<EOF >> debian/control cat <<EOF >> debian/control
Package: $packagename Package: $packagename
Provides: kernel-image-$version, linux-image-$version Provides: linux-image, linux-image-2.6, linux-modules-$version
Suggests: $fwpackagename Suggests: $fwpackagename
Architecture: any Architecture: any
Description: Linux kernel, version $version Description: Linux kernel, version $version
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment