[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#316809: kernel-source-2.6.11: tell where to find the Debian .config

Package: kernel-source-2.6.11
Version: 2.6.11-7
Severity: wishlist

I wanted to rebuild a kernel-image package starting with the same
.config in the official Debian packages.  One way to do this is to
install the kernel-image package, which contains it in /boot/config-XXX,
but it's annoying to install a huge kernel-image package you're just
going to replace.  It took me a good while to notice that the .config
file is also in the kernel-headers package (obvious in retrospect), in
/usr/src/kernel-headers-XXX/.config.  That's also a big download for
just that file, though I already happened to have it installed.
Finally, I discovered that the kernel-image _source_ package is
(contrary to intuition) a tiny little thing containing little other than
the .configs.

I would suggest either copying the .configs into the kernel-source
package, or putting clear documentation into the kernel-source package,
say in README.Debian:

    If you want to start with the same kernel .config used in the
    official Debian kernel-image package, get it from the _source_
    package for the relevant kernel-image (don't worry, it's a small

BTW, the kernel-headers-2.6.11-1 package contains
/usr/share/doc/kernel-headers-2.6.11-1/config-2.6.11-1.gz matching
/usr/src/kernel-headers-2.6.11-1/.config; however the
kernel-headers-2.6.11-1-686 contains no such file in /usr/share/doc.  Is
that intentional?


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages kernel-source-2.6.11 depends on:
ii  binutils                      2.15-7     The GNU assembler, linker and bina
ii  bzip2                         1.0.2-7    high-quality block-sorting file co
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities

Versions of packages kernel-source-2.6.11 recommends:
ii  gcc                         4:3.3.6-1    The GNU C compiler
ii  libc6-dev [libc-dev]        2.3.2.ds1-22 GNU C Library: Development Librari
ii  make                        3.80-9       The GNU version of the "make" util

-- no debconf information

Reply to: