Skip to contentSkip to conversation

compat-wireless: disable update-initramfs except for b4xx/ssb

PATCH Applied Walter Goldens 1 participant 1 message Oct 28, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 compat-wireless: disable update-initramfs except for b4xx/ssb

Currently, the only drivers requiring update of the initramfs image are b43/legacy/b44/ssb, yet the process is in place for every other driver, including driver-select entries. Disable update-initramfs for all but b4xx/ssb.

---

scripts/driver-select +10 -0
@@ -169,6 +169,7 @@ function disable_bt_usb_ethernet_var {
 	disable_ethernet
 	disable_var_03
 	disable_bt
+	disable_update-initramfs
 } 
 
 function enable_only_ethernet {
@@ -187,6 +188,7 @@ function disable_var {
 	disable_ssb
 	disable_usbnet
 	disable_eeprom
+	disable_update-initramfs
 } 
 
 function disable_var_01 {
@@ -199,6 +201,7 @@ function disable_var_02 {
 	disable_lib80211
 	disable_ssb
 	disable_usbnet
+	disable_update-initramfs
 }
 
 function disable_staging {
@@ -216,6 +219,12 @@ function disable_brcm80211 {
 	perl -i -ne 'print if ! /brcm80211/ ' Makefile
 }
 
+function disable_update-initramfs
+{
+	backup_file Makefile
+	perl -i -ne 'print if ! /update-initramfs/' Makefile
+}
+
 function select_ath_driver 
 {
 	backup_file $ATH_MAKEFILE
@@ -408,6 +417,7 @@ case $1 in
 		select_drivers		CONFIG_ATL1 CONFIG_ATL2 CONFIG_ATL1E CONFIG_ATL1C
 		enable_only_ethernet
 		disable_b44
+		disable_update-initramfs
 		;;
 	bt)
 		select_driver 		CONFIG_BT