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

Re: Building vanilla kernel .debs



On Mon, 2009-10-26 at 21:27 +0100, Marc Haber wrote:
> Hi,
> 
> On Mon, Oct 26, 2009 at 02:58:08PM +0100, Marc Haber wrote:
> > On Tue, Oct 20, 2009 at 01:42:02PM +0200, maximilian attems wrote:
> > > On Tue, Oct 20, 2009 at 11:35:01AM +0200, Marc Haber wrote:
> > > > So the most current version is in the upstream kernel git?
> > > 
> > > kernel guys are currently in the summit so latest 2 patches
> > > related to fakeroot didn't yet land in kbuild git and linux-next.
> > > http://marc.info/?l=linux-kbuild&m=125561337922614&w=2
> > > http://marc.info/?l=linux-kbuild&m=125561358622933&w=2
> > 
> > After applying these two patches to scripts/package/builddeb from
> > current upstream kernel git (they don't apply to 2.6.31.4), make
> > deb-pkg KBUILD_PKG_ROOTCMD="fakeroot -u" produces packages (which I
> > haven't tested yet). Thanks.
> 
> Is it a feature that the linux-firmware package doesn't have the
> upstream kernel version in its name?

Possibly not.

> $ make deb-pkg
> (...)
> dpkg-deb: building package linux-firmware-image' in ../linux-firmware-image_2.6.31.4.20091026.4_all.deb'.
> dpkg-deb: building package linux-image-2.6.31.4-zgws1' in ../linux-image-2.6.31.4-zgws1_2.6.31.4.20091026.4_i386.deb'.
> 
> I could imagine that, a driver in kernel 2.6.x would need different
> firmware than the same driver in kernel 2.6.y, where it would be very
> helpful to have multiple firmware packages installed.

The linux-firmware repository
<git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git>
contains multiple versions of some firmware for just this reason.
However, Linux source trees do not.

> Does the firmware infrastructure cater for this need?

udev as shipped in Debian will search in /lib/firmware/$(uname -r)
before /lib/firmware.  It might make sense for the linux-firmware-image
package to install in there instead, though this is likely to waste
space with a lot of duplicates.

Ben.

-- 
Ben Hutchings
I'm always amazed by the number of people who take up solipsism because
they heard someone else explain it. - E*Borg on alt.fan.pratchett

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: