diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2009-11-22 14:21:49 +0000 |
---|---|---|
committer | maximilian attems <maks@debian.org> | 2010-02-24 18:55:40 +0100 |
commit | cd63438f4bfc5c400aeed74ea29010dbc0c0ef4e (patch) | |
tree | f466eb6ea1314224c9b01282650981eaac870a58 /hook-functions | |
parent | 64882f7235362129e9bae0e7c7788981328d8077 (diff) | |
download | initramfs-tools-cd63438f4bfc5c400aeed74ea29010dbc0c0ef4e.tar.gz initramfs-tools-cd63438f4bfc5c400aeed74ea29010dbc0c0ef4e.zip |
auto_add_modules: Copy all modules from net, excluding some subdirectories
This removes the need to maintain an explicit list, which always has
some drivers missing.
fixes #553024 partly.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'hook-functions')
-rw-r--r-- | hook-functions | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/hook-functions b/hook-functions index c40b3a4..98597db 100644 --- a/hook-functions +++ b/hook-functions @@ -398,19 +398,9 @@ auto_add_modules() done ;; net) - for x in 3c59x 8139cp 8139too 8390 atl1 atl1e b44 bmac \ - bnx2 cxgb cxgb3 de2104x de4x5 defxx dl2k dmfe \ - e100 e1000 e1000e ehea epic100 \ - ep93xx_eth eql fealnx famachi forcedeth gelic_net \ - hp100 igb ipg ixgb ixgbe mace mlx4_core mv643xx_eth myri10ge \ - natsemi ne2k-pci netconsole netxen_nic niu ns83820 \ - pcnet32 qla3xxx \ - r8169 s2io sfc sis900 skge sky2 slhc smc91x starfire \ - sundance sungem sungem_phy sunhme sunvnet tehuti tg3 tlan \ - tulip typhoon via-rhine via-velocity virtio_net winbond-840 \ - xircom_cb xircom_tulip_cb yellowfin; do - manual_add_modules "${x}" - done + copy_modules_dir kernel/drivers/net \ + appletalk arcnet bonding can hamradio irda pcmcia \ + tokenring usb wan wimax wireless ;; ide) copy_modules_dir kernel/drivers/ide |