Package: kernel-package
Version: 11.015
Severity: important

Building a kernel package with make-kpkg for kernels >=2.6.27 results in
including some files in the package that are put in /lib/firmware. For example:

(2.6.28 .deb contents)

drwxr-xr-x root/root         0 2008-10-12 15:45 ./lib/firmware/
drwxr-xr-x root/root         0 2008-10-12 15:45 ./lib/firmware/yamaha/
-rw-r--r-- root/root     12288 2008-10-12 15:45 
./lib/firmware/yamaha/ds1_ctrl.fw
-rw-r--r-- root/root       128 2008-10-12 15:45 ./lib/firmware/yamaha/ds1_dsp.fw
-rw-r--r-- root/root     12288 2008-10-12 15:45 
./lib/firmware/yamaha/ds1e_ctrl.fw

The next kernel (2.6.29) package will also have those files in it. So there
will be two .deb files with the same files in /lib/firmware. This makes it
impossible to install a new kernel and keep the old one installed in the
system. This actually happened with kernels 2.6.27 and 2.6.28.

Perhaps /lib/firmware files should be a different package
(linux-kernel-firmware-2.6.28) etc. Most probably there isn't any problem
having kernel 2.6.27 with firmware from 2.6.28 (etc... etc...). Also, the
kernel-firmware may be a non-free package (per debian policy ?).

I see that this bug is also mentioned as ubuntu bug #256983
(https://bugs.launchpad.net/ubuntu/+source/kernel-package/+bug/256983)

which includes a on-liner patch for installing the firmware in 
/lib/firmware/<version>

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-v2-v (SMP w/4 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.23              Debian package management system
ii  dpkg-dev            1.14.23              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.1 [c-compiler 4.1.2-23             The GNU C compiler
ii  gcc-4.2 [c-compiler 4.2.4-4              The GNU C compiler
ii  gcc-4.3 [c-compiler 4.3.2-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-18            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-16     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
pn  libdb3-dev                    <none>     (no description available)
pn  libncurses-dev                <none>     (no description available)
pn  linux-initramfs-tool          <none>     (no description available)
pn  linux-source | kernel-source  <none>     (no description available)
pn  xmlto                         <none>     (no description available)

-- debconf-show failed



-- 
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