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.
This commit is contained in:
Thomas Bächler 2010-05-16 11:29:15 +02:00
parent e7d88f5237
commit aeaec35905

View File

@ -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=""