diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-05-16 11:29:15 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-05-16 11:29:15 +0200 |
commit | aeaec35905f0d0cbb876ab66dccb2d02d8e872c0 (patch) | |
tree | 17088d264781563ade9080dc4bdd49ac2ef7613d /archiso | |
parent | e7d88f5237fb77b70b85709515360a3fb3cc3f5d (diff) | |
download | archiso32-aeaec35905f0d0cbb876ab66dccb2d02d8e872c0.tar.xz |
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.
Diffstat (limited to 'archiso')
-rw-r--r-- | archiso/install/archiso_pxe_nbd | 2 |
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="" |