qubes-linux-kernel/patches.rpmify/firmware-path
2011-04-19 22:09:59 +02:00

27 lines
847 B
Plaintext

From: Jeff Mahoney <jeffm@suse.com>
Subject: [PATCH] firmware: Allow release-specific firmware dir
Patch-mainline: not yet
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.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 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