Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=ryuotesting9.git;a=commitdiff;h=1d30c685b185780dd7a0a9a09ef313ca7cf40ee1

commit 1d30c685b185780dd7a0a9a09ef313ca7cf40ee1
Author: James Buren <[email protected]>
Date:   Wed Jan 16 14:23:43 2013 -0600

kernel-3.7-5-x86_64
* add patch for stuff to be installed under /usr and load firmware from 
/usr/lib/firmware

diff --git a/source/base/kernel/usr.patch b/source/base/kernel/usr.patch
new file mode 100644
index 0000000..ae3fb1d
--- /dev/null
+++ b/source/base/kernel/usr.patch
@@ -0,0 +1,44 @@
+diff -ur a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c
+--- a/drivers/base/firmware_class.c    2012-12-10 21:30:57.000000000 -0600
++++ b/drivers/base/firmware_class.c    2013-01-16 13:52:06.676096321 -0600
+@@ -268,9 +268,7 @@
+
+ /* direct firmware loading support */
+ static const char *fw_path[] = {
+-      "/lib/firmware/updates/" UTS_RELEASE,
+-      "/lib/firmware/updates",
+-      "/lib/firmware/" UTS_RELEASE,
++      "/usr/lib/firmware",
+       "/lib/firmware"
+ };
+
+diff -ur a/Makefile b/Makefile
+--- a/Makefile 2012-12-10 21:30:57.000000000 -0600
++++ b/Makefile 2013-01-16 13:30:38.172144229 -0600
+@@ -698,7 +698,7 @@
+ # makefile but the argument can be passed to make if needed.
+ #
+
+-MODLIB        = $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
++MODLIB        = $(INSTALL_MOD_PATH)/usr/lib/modules/$(KERNELRELEASE)
+ export MODLIB
+
+ #
+@@ -873,7 +873,7 @@
+
+ # ---------------------------------------------------------------------------
+ # Firmware install
+-INSTALL_FW_PATH=$(INSTALL_MOD_PATH)/lib/firmware
++INSTALL_FW_PATH=$(INSTALL_MOD_PATH)/usr/lib/firmware
+ export INSTALL_FW_PATH
+
+ PHONY += firmware_install
+@@ -1091,7 +1091,7 @@
+       @echo  '* modules         - Build all modules'
+       @echo  '  modules_install - Install all modules to INSTALL_MOD_PATH 
(default: /)'
+       @echo  '  firmware_install- Install all firmware to INSTALL_FW_PATH'
+-      @echo  '                    (default: 
$$(INSTALL_MOD_PATH)/lib/firmware)'
++      @echo  '                    (default: 
$$(INSTALL_MOD_PATH)/usr/lib/firmware)'
+       @echo  '  dir/            - Build all files in dir and below'
+       @echo  '  dir/file.[oisS] - Build specified target only'
+       @echo  '  dir/file.lst    - Build specified mixed source/assembly 
target only'
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to