make-kpkg needs to be updated to handle firmware

Bug #256983 reported by Amit Shah on 2008-08-11
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kernel-package (Ubuntu)

Bug Description

From kernels 2.6.27-rc1, firmware can be built into the kernel. Some firmware blobs also can be installed in /lib/firmware.

Compiling own kernels presents this problem:

Unpacking linux-image-2.6.27-rc2 (from .../linux-image-2.6.27-rc2_2.6.27-rc2-10.00.Custom_amd64.deb) ...
dpkg: error processing ../linux-image-2.6.27-rc2_2.6.27-rc2-10.00.Custom_amd64.deb (--install):
 trying to overwrite `/lib/firmware/keyspan_pda/keyspan_pda.fw', which is also in package linux-image-2.6.27-rc1
dpkg-deb: subprocess paste killed by signal (Broken pipe)

Skelator (alex57331235) wrote :

Compiling is fine. Installing the kernel with "sudo dpkg -i *.deb" fails.

Workaround: Pain in the neck but only installing one custom kernel at a time.

Skelator (alex57331235) wrote :

Note: This error only appears to happen with installing multiple non-ubuntu kernels.

Brian Rogers (brian-rogers) wrote :

I guess this should go upstream, but for now here's a fix.

Brian Rogers (brian-rogers) wrote :

My fix was applied upstream in kernel-package 11.002.

Chris Samuel (chris-csamuel) wrote :

I find that with Intrepid I am getting the same issue with the standard kernels, in other words I can't install a custom kernel package at all as it conflicts with files from the linux-firmware package that are stored directly in /lib/firmware. :-(

I'll try Brian's fix that's gone upstream to see if it fixes things for me with Intrepid.

Chris Samuel (chris-csamuel) wrote :

Indeed it did fix it, I can now install the kernel packages that make-kpkg generates under Intrepid 8.10.

Thanks Brian, much appreciated!

Changed in kernel-package (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers