summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-09-09 17:50:59 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-09-09 17:50:59 +0000
commit77964056ffe63d87bee4e4afe8ddec541b0b5ce2 (patch)
tree661a584e903890f687d1f3e72a6c738217b4f516 /images/make_boot_img
parent07a8cc9cc9ed5c6fb9d69ecbf66f0dd51a702b1a (diff)
downloaddrakx-77964056ffe63d87bee4e4afe8ddec541b0b5ce2.tar
drakx-77964056ffe63d87bee4e4afe8ddec541b0b5ce2.tar.gz
drakx-77964056ffe63d87bee4e4afe8ddec541b0b5ce2.tar.bz2
drakx-77964056ffe63d87bee4e4afe8ddec541b0b5ce2.tar.xz
drakx-77964056ffe63d87bee4e4afe8ddec541b0b5ce2.zip
embed all firmwares that are needed by the modules we embed
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-ximages/make_boot_img5
1 files changed, 1 insertions, 4 deletions
diff --git a/images/make_boot_img b/images/make_boot_img
index fab6183f7..2d077d4b2 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -157,10 +157,7 @@ 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";
+ foreach (glob_("all.kernels$I/firmware/*")) {
_ "cp -a $_ $tmp_initrd$_";
};