History

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.

Riku Voipio committed 9 years ago

Commit 1d349921 parent 09549aa1 file · +1 −6Browse files

Unified · Split

scripts/package/builddeb+1−6
@@ -260,7 +260,7 @@ This is a packacked upstream version of the Linux kernel. · 259 unmodified lines
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,7 +283,6 @@ Section: kernel · 16 unmodified lines
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
@@ -291,7 +290,6 @@ if [ "$ARCH" = "um" ]; then · 1 unmodified line
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 · 10 unmodified lines
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" · 26 unmodified lines
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 · 51 unmodified lines
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