Package: kernel-package
Version: 10.066
Severity: minor
Tags: patch

The information that make-kpkg puts into the buildinfo.gz file with the
"kernel source package used:" description represents the version of
the corresponding {kernel,linux}-source-* package _installed_ on the
system, but not the version of the package that the current source tree
was _untarred_ from. (Eg. one untars the source tree from
linux-source-2.6.18-6, then (s)he updates the installed package to
linux-source-2.6.18-7, then builds a kernel in the previously untarred
source tree. In this case the source really used is 2.6.18-6, but it
writes 2.6.18-7 to buildinfo.gz, which is misleading.)

Best regards,

norbi


-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=C, LC_CTYPE=hu_HU (charmap=ISO-8859-2)

Versions of packages kernel-package depends on:
ii  dpkg                         1.13.25     package maintenance system for Deb
ii  dpkg-dev                     1.13.25     package building tools for Debian
ii  file                         4.17-5      Determines file type using "magic"
ii  gcc [c-compiler]             4:4.1.1-15  The GNU C compiler
ii  gcc-2.95 [c-compiler]        1:2.95.4-27 The GNU C compiler
ii  gcc-3.0 [c-compiler]         1:3.0.4-7   The GNU C compiler.
ii  gcc-3.3 [c-compiler]         1:3.3.6-15  The GNU C compiler
ii  gcc-3.4 [c-compiler]         3.4.6-5     The GNU C compiler
ii  gcc-4.1 [c-compiler]         4.1.1-21    The GNU C compiler
ii  gettext                      0.16.1-1    GNU Internationalization utilities
ii  make                         3.81-2      The GNU version of the "make" util
ii  perl                         5.8.8-7     Larry Wall's Practical Extraction 
ii  po-debconf                   1.0.8       manage translated Debconf template

Versions of packages kernel-package recommends:
ii  bzip2                       1.0.3-6      high-quality block-sorting file co
ii  libc6-dev [libc-dev]        2.3.6.ds1-11 GNU C Library: Development Librari

-- no debconf information
diff -Naur kernel-package-10.066/kernel/ruleset/targets/target.mk 
kernel-package-10.066-fixed/kernel/ruleset/targets/target.mk
--- kernel-package-10.066/kernel/ruleset/targets/target.mk      2007-01-18 
03:29:54.000000000 +0100
+++ kernel-package-10.066-fixed/kernel/ruleset/targets/target.mk        
2007-02-26 23:19:10.000000000 +0100
@@ -317,9 +317,7 @@
            sed -e 's/.*LINUX_COMPILER "//' -e 's/"$$//' >> debian/buildinfo
 ifneq ($(strip $(shell test -f version.Debian && cat version.Debian)),)
        echo kernel source package used: >> debian/buildinfo
-       COLUMNS=150 dpkg -l $(INT_STEM)-source-$(shell test -f version.Debian 
&&               \
-                                              cat version.Debian | sed -e 
's/-.*$$//') |  \
-        awk '$$1 ~ /[hi]i/ { printf("%s-%s\n", $$2, $$3) }' >> debian/buildinfo
+       echo $(INT_STEM)-source-$(shell cat version.Debian) >> debian/buildinfo
 endif
        echo applied kernel patches: >> debian/buildinfo
 ifneq ($(strip $(valid_patches)),)

Reply via email to