Package: kernel-package
Version: 11.001
Severity: normal

Hey,

when fiddling around with version numbers for my kernels (while
debuggind #423721) I noticed that the local version doesn't properly get
set when .config is out of date.

When, for example, running "make-kpkg debian", minimal.mk will call
misc/version_vars.mk for finding the kernel version. This in turn will 
use the debian_LOCALVERSION target in kernel_version.mk for finding the
local version. Since the local version is dependent on the used
configuration (for CONFIG_LOCAL_VERSION[_AUTO]) it will (I think,
probably indirectly) call "make config" from the normal kernel Makefile
(It will output my entire kernel configuration at least).

When my configuration is from a previous kernel version (ie, I didn't
run make oldconfig yet) the "make config" will hang halfway through when
it finds a new config option). So, it does not output the local version
as it should.

Since the configuration is out of date, it is not illogical that things
break, but it would be nicer to check the configuration first and issue
a warning?

Gr.

Matthijs

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-rc3-gcfb44989-dirty (PREEMPT)
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  dpkg                          1.14.5     package maintenance system for Deb
ii  dpkg-dev                      1.14.5     package building tools for Debian
ii  file                          4.21-1     Determines file type using "magic"
ii  gcc [c-compiler]              4:4.1.2-3  The GNU C compiler
ii  gcc-4.1 [c-compiler]          4.1.2-12   The GNU C compiler
ii  gettext                       0.16.1-2   GNU Internationalization utilities
ii  make                          3.81-3     The GNU version of the "make" util
ii  perl                          5.8.8-7    Larry Wall's Practical Extraction 
ii  po-debconf                    1.0.9      manage translated Debconf template

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

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to