[kernel/f16] Avoid unnecessary modprobe invocations during compat-wireless build

John W. Linville linville at fedoraproject.org
Tue Jan 3 18:44:29 UTC 2012


commit 13eb970aa711abf5b5159278204a00815bc1b5e1
Author: John W. Linville <linville at tuxdriver.com>
Date:   Tue Jan 3 13:43:28 2012 -0500

    Avoid unnecessary modprobe invocations during compat-wireless build

 compat-wireless-config-fixups.patch |   11 +++++++++++
 kernel.spec                         |    3 +++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/compat-wireless-config-fixups.patch b/compat-wireless-config-fixups.patch
index 15566c3..2e99b5d 100644
--- a/compat-wireless-config-fixups.patch
+++ b/compat-wireless-config-fixups.patch
@@ -69,6 +69,17 @@ diff -up compat-wireless-3.2-rc6-3/drivers/net/usb/Makefile.orig compat-wireless
 diff -up compat-wireless-3.2-rc6-3/Makefile.orig compat-wireless-3.2-rc6-3/Makefile
 --- compat-wireless-3.2-rc6-3/Makefile.orig	2012-01-03 09:41:57.109826807 -0500
 +++ compat-wireless-3.2-rc6-3/Makefile	2012-01-03 09:42:03.470747287 -0500
+@@ -8,8 +8,8 @@ endif
+ export KLIB_BUILD ?=	$(KLIB)/build
+ # Sometimes not available in the path
+ MODPROBE := /sbin/modprobe
+-MADWIFI=$(shell $(MODPROBE) -l ath_pci)
+-OLD_IWL=$(shell $(MODPROBE) -l iwl4965)
++MADWIFI=""
++OLD_IWL=""
+ 
+ DESTDIR?=
+ 
 @@ -41,8 +41,8 @@ endif
  
  endif
diff --git a/kernel.spec b/kernel.spec
index 51f50ba..a1a8322 100644
--- a/kernel.spec
+++ b/kernel.spec
@@ -2370,6 +2370,9 @@ fi
 # and build.
 
 %changelog
+* Tue Jan 03 2012 John W. Linville <linville at redhat.com> 
+- Avoid unnecessary modprobe invocations during compat-wireless build
+
 * Tue Jan 03 2012 Dave Jones <davej at redhat.com>
 - Add Thinkpad SL510 to the pci=nocrs blacklist.
 


More information about the scm-commits mailing list