Re: [PATCH] firmware: Allow release-specific firmware dir

From: Andrew Morton
Date: Wed Sep 10 2008 - 18:36:00 EST


On Tue, 09 Sep 2008 10:15:35 -0400
Jeff Mahoney <jeffm@xxxxxxxx> wrote:

> Every kernel package trying to provide files under /lib/firmware runs
> into problems really quickly with multiple kernels installed, especially
> with respect to distribution package tracking of the files.

For how long has this problem existed?

> This patch moves them to /lib/firmware/$KERNELRELEASE. udev v127's
> firmware.sh looks there first before falling back to /lib/firmware.
>
> Signed-off-by: Jeff Mahoney <jeffm@xxxxxxxx>
> ---
> Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/Makefile
> +++ b/Makefile
> @@ -1025,7 +1025,7 @@ depend dep:
>
> # ---------------------------------------------------------------------------
> # Firmware install
> -INSTALL_FW_PATH=$(INSTALL_MOD_PATH)/lib/firmware
> +INSTALL_FW_PATH=$(INSTALL_MOD_PATH)/lib/firmware/$(KERNELRELEASE)
> export INSTALL_FW_PATH
>
> PHONY += firmware_install
>

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