Re: RFC: install firmware in a kernel-dependent directory

From: Robert Hancock
Date: Sat Feb 14 2009 - 14:02:20 EST


Michael Riepe wrote:
Currently, make firmware_install puts all firmware blobs in
/lib/firmware. If you have several kernel versions installed, they will
overwrite each other's files, which may lead to problems if the blobs
eventually change. I think it would be better to use a separate
directory for every kernel version, like /lib/firmware/$(uname -r) or
/lib/modules/$(uname -r)/firmware (the latter is my favorite).

In either case, only a minimal modification in /lib/udev/firmware.sh is
required to make it look in the new directory first.

Comments?

Seems reasonable to me, it seemed rather bizarre to me that this wasn't done in the first place..
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/