Your message dated Wed, 28 Oct 2009 09:26:41 -0500
with message-id <[email protected]>
and subject line Re: Bug#552602: kernel-package: Specifying --revision drops 
upstream version in package names
has caused the Debian Bug report #552602,
regarding kernel-package: Specifying --revision drops upstream version in 
package names
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 [email protected]
immediately.)


-- 
552602: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552602
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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)

be changed 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: (500, '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



--- End Message ---
--- Begin Message ---
Hi,

        The custom has been that when you specify the debian revision,
 you specify all of it. This way, you are not constrained by any
 formatting that kernel-package thinks belongs in the debian revision,
 and set the string to anything at all. You can always set it in
 /etc/kernel-pkg.conf as:

 debian = $(version)-42-my-version

        and get the version number.

        manoj
-- 
Asking a working writer what he thinks about critics is like asking a
lamp-post how it feels about dogs.  -- Christopher Hampton
Manoj Srivastava <[email protected]> <http://www.golden-gryphon.com/>  
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C


--- End Message ---

Reply via email to