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

Since kernel-source-* and kernel-patch-* packages were renamed to
linux-source-* and linux-patch-*, the "applied kernel patches:" is
missing from buildinfo.gz. (It still tries to find kernel-patch-<whatever>
package for the <whatever> patch. A similar problem that affected the
"kernel source package used:" part was fixed in #344007.)

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-25 17:56:22.000000000 +0100
@@ -323,8 +323,7 @@
 endif
        echo applied kernel patches: >> debian/buildinfo
 ifneq ($(strip $(valid_patches)),)
-       COLUMNS=150 dpkg -l $(shell echo $(valid_patches) | tr ' ' '\n' |       
          \
-                              sed -ne 's/^.*\/\(.*\)/kernel-patch-\1/p') |     
           \
+       COLUMNS=150 dpkg -l $(shell dpkg -S $(valid_patches) | cut -d: -f1) | \
              awk '$$1 ~ /[hi]i/  { printf("%s-%s\n", $$2, $$3) }' >> 
debian/buildinfo
 endif
        echo done > $@

Reply via email to