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

Andrew Morton
2011-03-01T00:49:18Z

On Thu, 24 Feb 2011 21:39:35 -0500
Jeff Mahoney <jeffm@suse.com> wrote:

> Every kernel package trying to provide files under /lib/firmware runs
> into problems really quickly with multiple kernels installed.
>
> This patch moves them to /lib/firmware/$KERNELRELEASE. udev v127's
> firmware.sh looks there first before falling back to /lib/firmware.
>
> ...
>
> --- a/Makefile
> +++ b/Makefile
> @@ -975,7 +975,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

What happens if the user is running older udev?