diff options
author | maximilian attems <max@stro.at> | 2009-04-22 19:12:21 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-06-09 16:37:41 -0400 |
commit | 8ebc2fe9c5e502a0f34be498b0732bb3b897b12d (patch) | |
tree | 26f7b0828c634d85d349271e73f0f4ee1a2af08b /scripts | |
parent | f7a2c31f1e4e622056c8a14260937e87f1277867 (diff) |
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: maximilian attems <max@stro.at>
Signed-off-by: Frans Pop <elendil@planet.nl>
Cc: Andres Salomon <dilinger@debian.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/package/builddeb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/package/builddeb b/scripts/package/builddeb index 1ade570b3c60..e1dd1892eb30 100644 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb | |||
@@ -154,7 +154,7 @@ if [ "$ARCH" = "um" ]; then | |||
154 | cat <<EOF >> debian/control | 154 | cat <<EOF >> debian/control |
155 | 155 | ||
156 | Package: $packagename | 156 | Package: $packagename |
157 | Provides: kernel-image-$version, linux-image-$version | 157 | Provides: linux-image, linux-image-2.6, linux-modules-$version |
158 | Architecture: any | 158 | Architecture: any |
159 | Description: User Mode Linux kernel, version $version | 159 | Description: User Mode Linux kernel, version $version |
160 | User-mode Linux is a port of the Linux kernel to its own system call | 160 | User-mode Linux is a port of the Linux kernel to its own system call |
@@ -171,7 +171,7 @@ else | |||
171 | cat <<EOF >> debian/control | 171 | cat <<EOF >> debian/control |
172 | 172 | ||
173 | Package: $packagename | 173 | Package: $packagename |
174 | Provides: kernel-image-$version, linux-image-$version | 174 | Provides: linux-image, linux-image-2.6, linux-modules-$version |
175 | Suggests: $fwpackagename | 175 | Suggests: $fwpackagename |
176 | Architecture: any | 176 | Architecture: any |
177 | Description: Linux kernel, version $version | 177 | Description: Linux kernel, version $version |