Your message dated Thu, 18 Jul 2013 04:05:54 +0100
with message-id <1374116754.15633.12.ca...@deadeye.wl.decadent.org.uk>
and subject line Re: build-linux-kbuild.sh: add support for -rcX kernels (needs 
version mangling)
has caused the Debian Bug report #624297,
regarding build-linux-kbuild.sh: add support for -rcX kernels (needs version 
mangling)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
624297: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=624297
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: linux-kbuild-2.6
Severity: normal
Tags: patch

Hi,

attached is a patch for the build-linux-kbuild.sh referenced from
http://wiki.debian.org/HowToRebuildAnOfficialDebianKernelPackage

It adds support for -rcX kernels by doing version mangling from -rcX to
~rcX as needed by Debian.

Also it would be nice if the build-linux-kbuild.sh would be kept in the
SVN repository and a comment like the following be added to the script:

  # The latest version of this script can be retrived via
  # svn export <URL>/build-linux-kbuild.sh

Andreas


-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (500, 
'stable-updates'), (130, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- build-linux-kbuild.orig.sh  2010-11-12 17:55:22.000000000 +0100
+++ build-linux-kbuild.sh       2011-04-27 08:50:17.770352638 +0200
@@ -9,11 +9,12 @@
 # changelog)
 
 set -ex
-VERSION=2.6.36
+UPSTREAM_VERSION=2.6.39-rc4
+VERSION=$(echo "${UPSTREAM_VERSION}" | sed -e 's/-rc/~rc/')
 DEBIAN_VERSION=${VERSION}-1~experimental.1
 CHANGELOG_MESSAGE=${VERSION}
 
-[ -e linux-${VERSION}.tar.bz2 ]
+[ -e linux-${UPSTREAM_VERSION}.tar.bz2 ]
 
 cleanme="orig linux-kbuild-2.6 linux-kbuild-2.6-${VERSION}"
 
@@ -31,7 +32,7 @@
 
 cd linux-kbuild-2.6
 dch -v ${DEBIAN_VERSION} ${CHANGELOG_MESSAGE}
-./debian/bin/genorig.py ../linux-${VERSION}.tar.bz2
+./debian/bin/genorig.py ../linux-${UPSTREAM_VERSION}.tar.bz2
 cd ..
 tar -xzf orig/linux-kbuild-2.6_${VERSION}.orig.tar.gz
 cd linux-kbuild-2.6-${VERSION}

--- End Message ---
--- Begin Message ---
This script is not part of the package and there is no point in adding
it to the package.  Unfortunately, linux-tools usually needs actual code
changes to work with a new upstream version.

Ben.

-- 
Ben Hutchings
Humans are not rational beings; they are rationalising beings.

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to