From bd3e0e17c383835f099d640e2c566bf5b184c115 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 3 Apr 2009 13:17:04 +0000 Subject: include firmwares for most common network cards (#49195) (list build from firmwares splited from in kernel drivers that are either GPL or redistribuable according to according to http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware-from-kernel.git;a=blob;f=WHENCE;h=3814d7d426650f574e079730738978d01496b72f;hb=HEAD) (what's still missing is a userspace helper in order to laod the firmware when requested by the kernel) --- images/NEWS | 2 ++ images/make_boot_img | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/images/NEWS b/images/NEWS index 979e3dafe..539c0cf22 100644 --- a/images/NEWS +++ b/images/NEWS @@ -1,3 +1,5 @@ +- include firmwares for most common network cards (#49195) + Version 1.37 - 3 April 2009, by Pascal Terjan - fix crypto module names when arch is not i586 (#46814) diff --git a/images/make_boot_img b/images/make_boot_img index 860020d68..48a415584 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -143,7 +143,7 @@ sub initrd { my $stage1_root = $ENV{DEBUGSTAGE1} ? "../mdk-stage1" : "/usr/$lib/drakx-installer-binaries"; _ "rm -rf $tmp_initrd"; - mkdir_p("$tmp_initrd$_") foreach qw(/etc /lib /modules /sbin /tmp /var); + mkdir_p("$tmp_initrd$_") foreach qw(/etc /lib/firmware /modules /sbin /tmp /var); symlink "../modules", "$tmp_initrd/lib/modules"; symlink "/proc/mounts", "$tmp_initrd/etc/mtab"; @@ -156,6 +156,10 @@ sub initrd { foreach ("/usr/share/ldetect-lst/fallback-modules.alias", "/lib/module-init-tools/ldetect-lst-modules.alias") { _ "install -D $_ $tmp_initrd$_"; } + foreach (grep { warn "> $_\n"; m!(3com|acenic|adaptec|cxgb3|e100|kaweth|tehuti|tigon)! } glob_("/lib/firmware/*")) { + warn ">> $_\n"; + _ "cp -a $_ $tmp_initrd$_"; + }; _ "install $stage1_root/init $tmp_initrd/"; foreach ('stage1', 'pppd', 'pppoe') { -- cgit v1.2.1