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
260The sources may be found at most Linux ftp sites, including:260The sources may be found at most Linux ftp sites, including:
261ftp://ftp.kernel.org/pub/linux/kernel261ftp://ftp.kernel.org/pub/linux/kernel
262 262
263Copyright: 1991 - 2015 Linus Torvalds and others.263Copyright: 1991 - 2017 Linus Torvalds and others.
264 264
265The git repository for mainline kernel development is at:265The git repository for mainline kernel development is at:
266git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git266git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
@@ -283,7 +283,6 @@ Section: kernel · 16 unmodified lines
283Priority: optional283Priority: optional
284Maintainer: $maintainer284Maintainer: $maintainer
285Build-Depends: $build_depends285Build-Depends: $build_depends
286Standards-Version: 3.8.4
287Homepage: http://www.kernel.org/286Homepage: http://www.kernel.org/
288EOF287EOF
289 288
@@ -291,7 +290,6 @@ if [ "$ARCH" = "um" ]; then · 1 unmodified line
291 cat <<EOF >> debian/control290 cat <<EOF >> debian/control
292 291
293Package: $packagename292Package: $packagename
294Provides: linux-image, linux-image-2.6, linux-modules-$version
295Architecture: any293Architecture: any
296Description: User Mode Linux kernel, version $version294Description: User Mode Linux kernel, version $version
297 User-mode Linux is a port of the Linux kernel to its own system call295 User-mode Linux is a port of the Linux kernel to its own system call
@@ -308,7 +306,6 @@ else · 10 unmodified lines
308 cat <<EOF >> debian/control306 cat <<EOF >> debian/control
309 307
310Package: $packagename308Package: $packagename
311Provides: linux-image, linux-image-2.6, linux-modules-$version
312Suggests: $fwpackagename309Suggests: $fwpackagename
313Architecture: any310Architecture: any
314Description: Linux kernel, version $version311Description: Linux kernel, version $version
@@ -341,7 +338,6 @@ rm -f "$objtree/debian/hdrsrcfiles" "$objtree/debian/hdrobjfiles" · 26 unmodified lines
341cat <<EOF >> debian/control338cat <<EOF >> debian/control
342 339
343Package: $kernel_headers_packagename340Package: $kernel_headers_packagename
344Provides: linux-headers, linux-headers-2.6
345Architecture: any341Architecture: any
346Description: Linux kernel headers for $KERNELRELEASE on \${kernel:debarch}342Description: Linux kernel headers for $KERNELRELEASE on \${kernel:debarch}
347 This package provides kernel header files for $KERNELRELEASE on \${kernel:debarch}343 This package provides kernel header files for $KERNELRELEASE on \${kernel:debarch}
@@ -399,7 +395,6 @@ if [ -n "$BUILD_DEBUG" ] ; then · 51 unmodified lines
399 395
400Package: $dbg_packagename396Package: $dbg_packagename
401Section: debug397Section: debug
402Provides: linux-debug, linux-debug-$version
403Architecture: any398Architecture: any
404Description: Linux kernel debugging symbols for $version399Description: Linux kernel debugging symbols for $version
405 This package will come in handy if you need to debug the kernel. It provides400 This package will come in handy if you need to debug the kernel. It provides