From fb4b02b640e18c13da264a462186f10ac68a24a7 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 3 Apr 2009 15:34:24 +0000 Subject: (initrd) add a comment for future --- images/make_boot_img | 2 ++ 1 file changed, 2 insertions(+) (limited to 'images/make_boot_img') diff --git a/images/make_boot_img b/images/make_boot_img index cb4dcfab9..4c788368d 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -156,6 +156,8 @@ sub initrd { foreach ("/usr/share/ldetect-lst/fallback-modules.alias", "/lib/module-init-tools/ldetect-lst-modules.alias") { _ "install -D $_ $tmp_initrd$_"; } + # FIXME: we could just look at all network modules, run modinfo and them and look for the firmware field: + # (we may also want to add firmware for SCSI and the like if any): foreach (grep { warn "> $_\n"; m!(3com|acenic|adaptec|cxgb3|e100|kaweth|tehuti|tigon)! } glob_("/lib/firmware/*")) { warn ">> $_\n"; _ "cp -a $_ $tmp_initrd$_"; -- cgit v1.2.1