Package: kernel-package
Version: 11.015
Severity: normal

I could be wrong, but, in 
/usr/share/kernel-package/ruleset/misc/config.mk, should line 50

    # debian := $(DEBIAN_REVISION)

to

        ifeq ($(strip $(KERNELRELEASE)),)
          debian = $(strip $(version))-$(DEBIAN_REVISION)
        else
          debian = $(strip $(KERNELRELEASE))-$(DEBIAN_REVISION)
        endif

?

When running make-kpkg, if I specify --revision, I end up with kernel 
package names that do not have upstream versions.

For instance, with a 2.6.31.5 kernel, this

make-kpkg --initrd kernel_image kernel_headers

yields

linux-image-2.6.31.5_2.6.31.5-10.00.Custom_amd64.deb
linux-headers-2.6.31.5_2.6.31.5-10.00.Custom_amd64.deb

while this

make-kpkg --initrd --revision ba1 kernel_image kernel_headers

yields

linux-image-2.6.31.5_ba1_amd64.deb
linux-headers-2.6.31.5_ba1_amd64.deb

instead of

linux-image-2.6.31.5_2.6.31.5-ba1_amd64.deb
linux-headers-2.6.31.5_2.6.31.5-ba1_amd64.deb

Youssef Eldakar
Bibliotheca Alexandrina

-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (890, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kernel-package depends on:
ii  binutils            2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii  debianutils         2.30                 Miscellaneous utilities specific t
ii  dpkg                1.14.25              Debian package management system
ii  dpkg-dev            1.14.25              Debian package development tools
ii  file                4.26-1               Determines file type using "magic"
ii  gcc [c-compiler]    4:4.3.2-2            The GNU C compiler
ii  gcc-4.3 [c-compiler 4.3.2-1.1            The GNU C compiler
ii  gettext             0.17-4               GNU Internationalization utilities
ii  make                3.81-5               The GNU version of the "make" util
ii  module-init-tools   3.4-1                tools for managing Linux kernel mo
ii  perl                5.10.0-19lenny2      Larry Wall's Practical Extraction 
ii  po-debconf          1.0.15               manage translated Debconf template
ii  util-linux          2.13.1.1-1           Miscellaneous system utilities

Versions of packages kernel-package recommends:
ii  bzip2                         1.0.5-1    high-quality block-sorting file co
ii  libc6-dev [libc-dev]          2.7-18     GNU C Library: Development Librari

Versions of packages kernel-package suggests:
pn  docbook-utils             <none>         (no description available)
ii  e2fsprogs                 1.41.3-1       ext2/ext3/ext4 file system utiliti
ii  initramfs-tools [linux-in 0.92o          tools for generating an initramfs
pn  libdb3-dev                <none>         (no description available)
ii  libncurses5-dev [libncurs 5.7+20081213-1 developer's libraries and docs for
pn  linux-source | kernel-sou <none>         (no description available)
pn  xmlto                     <none>         (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to