Skip to content

Commit 1d34992

Browse files
Riku Voipiomasahir0y
authored andcommitted
builddeb: Update a few outdated and hardcoded strings
The builddeb script has some hardcoded references to Linux version 2.6 which is ancient. Drop Provides as the virtual packages provided are not useful anymore. Leave the Provides for linux-kernel-headers, as someone might still be referring to it. While at it, updated copyright date and drop Standards-Version: since the package isn't Debian Standards compliant anyways. Cc: Timo Sigurdsson <public_timo.s@silentcreek.de> Signed-off-by: Riku Voipio <riku.voipio@linaro.org> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
1 parent 09549aa commit 1d34992

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎scripts/package/builddeb‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ This is a packacked upstream version of the Linux kernel.
260260
The sources may be found at most Linux ftp sites, including:
261261
ftp://ftp.kernel.org/pub/linux/kernel
262262
263-
Copyright: 1991 - 2015 Linus Torvalds and others.
263+
Copyright: 1991 - 2017 Linus Torvalds and others.
264264
265265
The git repository for mainline kernel development is at:
266266
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
@@ -283,15 +283,13 @@ Section: kernel
283283
Priority: optional
284284
Maintainer: $maintainer
285285
Build-Depends: $build_depends
286-
Standards-Version: 3.8.4
287286
Homepage: http://www.kernel.org/
288287
EOF
289288

290289
if [ "$ARCH" = "um" ]; then
291290
cat <<EOF >> debian/control
292291
293292
Package: $packagename
294-
Provides: linux-image, linux-image-2.6, linux-modules-$version
295293
Architecture: any
296294
Description: User Mode Linux kernel, version $version
297295
User-mode Linux is a port of the Linux kernel to its own system call
@@ -308,7 +306,6 @@ else
308306
cat <<EOF >> debian/control
309307
310308
Package: $packagename
311-
Provides: linux-image, linux-image-2.6, linux-modules-$version
312309
Suggests: $fwpackagename
313310
Architecture: any
314311
Description: Linux kernel, version $version
@@ -341,7 +338,6 @@ rm -f "$objtree/debian/hdrsrcfiles" "$objtree/debian/hdrobjfiles"
341338
cat <<EOF >> debian/control
342339
343340
Package: $kernel_headers_packagename
344-
Provides: linux-headers, linux-headers-2.6
345341
Architecture: any
346342
Description: Linux kernel headers for $KERNELRELEASE on \${kernel:debarch}
347343
This package provides kernel header files for $KERNELRELEASE on \${kernel:debarch}
@@ -399,7 +395,6 @@ if [ -n "$BUILD_DEBUG" ] ; then
399395
400396
Package: $dbg_packagename
401397
Section: debug
402-
Provides: linux-debug, linux-debug-$version
403398
Architecture: any
404399
Description: Linux kernel debugging symbols for $version
405400
This package will come in handy if you need to debug the kernel. It provides

0 commit comments

Comments
 (0)