Exclude drivers for:
- software devices: dummy, ifb, tun, veth.
- layered devices: macvlan, macvtap, team
- physical devices unlikely to be useful at boot: hippi/*, sb1000, xen-netback

Signed-off-by: Ben Hutchings <[email protected]>
---
Some of the existing exclusions should perhaps be reconsidered - USB
Ethernet is depressingly common - but I think these additions are safe.

Ben.

 hook-functions |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/hook-functions b/hook-functions
index f090256..817d06c 100644
--- a/hook-functions
+++ b/hook-functions
@@ -448,8 +448,11 @@ auto_add_modules()
                ;;
                net)
                        copy_modules_dir kernel/drivers/net \
-                               appletalk arcnet bonding can hamradio irda \
-                               pcmcia tokenring usb wan wimax wireless
+                               appletalk arcnet bonding can dummy.ko \
+                               hamradio hippi ifb.ko irda macvlan.ko \
+                               macvtap.ko pcmcia sb1000.ko team tokenring \
+                               tun.ko usb veth.ko wan wimax wireless \
+                               xen-netback.ko
                ;;
                ide)
                        copy_modules_dir kernel/drivers/ide

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to