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:
parent
e7d88f5237
commit
aeaec35905
@ -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=""
|
||||
|
Loading…
Reference in New Issue
Block a user