From aeaec35905f0d0cbb876ab66dccb2d02d8e872c0 Mon Sep 17 00:00:00 2001 From: Thomas Bächler Date: Sun, 16 May 2010 11:29:15 +0200 Subject: 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. --- archiso/install/archiso_pxe_nbd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archiso/install/archiso_pxe_nbd') 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="" -- cgit v1.2.3-70-g09d2