summaryrefslogtreecommitdiffstats
path: root/images
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-03 13:17:04 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-03 13:17:04 +0000
commitbd3e0e17c383835f099d640e2c566bf5b184c115 (patch)
tree148edab7ce3be3c633e4708dfef716eacdefea7e /images
parent30b33e19ac5828eb3f06af4270c6615f4c328552 (diff)
downloaddrakx-backup-do-not-use-bd3e0e17c383835f099d640e2c566bf5b184c115.tar
drakx-backup-do-not-use-bd3e0e17c383835f099d640e2c566bf5b184c115.tar.gz
drakx-backup-do-not-use-bd3e0e17c383835f099d640e2c566bf5b184c115.tar.bz2
drakx-backup-do-not-use-bd3e0e17c383835f099d640e2c566bf5b184c115.tar.xz
drakx-backup-do-not-use-bd3e0e17c383835f099d640e2c566bf5b184c115.zip
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)
Diffstat (limited to 'images')
-rw-r--r--images/NEWS2
-rwxr-xr-ximages/make_boot_img6
2 files changed, 7 insertions, 1 deletions
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') {