Your message dated Sat, 03 Jan 2009 09:01:39 -0600
with message-id <[email protected]>
and subject line Re: Bug#510121: kernel-package: make-kpkg needs to take care 
of /lib/firmware for multiple installed kernel versions
has caused the Debian Bug report #510121,
regarding kernel-package: make-kpkg needs to take care of /lib/firmware for 
multiple installed kernel versions
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.)


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



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

        kernel-package already does so.

,----[ kernel/ruleset/targets/image.mk ]
|  $(restore_upstream_debianization)
|  $(MAKE) $(EXTRAV_ARG) INSTALL_MOD_PATH=$(INSTALL_MOD_PATH)           \
|          INSTALL_FW_PATH=$(INSTALL_MOD_PATH)/lib/firmware/$(KERNELRELEASE)  \
|          $(CROSS_ARG) ARCH=$(KERNEL_ARCH) modules_install
|  $(save_upstream_debianization)
`----


        manoj
-- 
When I left you, I was but the pupil.  Now, I am the master. Darth Vader
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