Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-05-16 11:29:15 +0200
committerThomas Bächler <thomas@archlinux.org>2010-05-16 11:29:15 +0200
commit84b785f386bf43ffd97118c9f9cc9d12cb4711bf (patch)
tree82debb2c7cf53aca625a2057b557a52a11d70f6d
parent37b3baa8d3a1d5cf52d680128502c5e0927dfa95 (diff)
archiso_pxe_nbd: Remove unnecessary/unsupported network modules
The archiso_pxe_nbd hook adds all network modules, including ones that are not supported: The hook only supports ethernet devices, so there is no need to add wireless, wimax, ppp, irda and plip modules. Adding the wireless modules had an undesired side effect: The wireless driver was loaded in the initramfs stage, where the required crypto modules were unavailable. This caused the initialization of the wireless devices to fail. This patch removes all network modules except ethernet.
-rw-r--r--archiso/install/archiso_pxe_nbd2
1 files changed, 1 insertions, 1 deletions
diff --git a/archiso/install/archiso_pxe_nbd b/archiso/install/archiso_pxe_nbd
index 4bebd15..fbf43c6 100644
--- a/archiso/install/archiso_pxe_nbd
+++ b/archiso/install/archiso_pxe_nbd
@@ -2,7 +2,7 @@
install ()
{
- MODULES="nbd $(checked_modules "/drivers/net/") "
+ MODULES="nbd $(checked_modules "/drivers/net/" | grep -v -e "/irda/" -e "/phy/" -e "/plip" -e "/ppp" -e "/wimax/" -e "/wireless/") "
BINARIES=""
FILES=""