summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--images/NEWS3
-rwxr-xr-ximages/make_boot_img3
2 files changed, 5 insertions, 1 deletions
diff --git a/images/NEWS b/images/NEWS
index 06b1ac316..ad4a509b9 100644
--- a/images/NEWS
+++ b/images/NEWS
@@ -1,3 +1,6 @@
+- restore full modules.alias (depmod keeps only available modules in
+ modules.alias, but we want them all)
+
Version 1.27 - 12 February 2008, by Olivier "blino" Blin
- add modules in /modules/`uname -r` and use depmod to build
diff --git a/images/make_boot_img b/images/make_boot_img
index 27527ab49..0a89a8262 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -172,7 +172,8 @@ sub initrd {
mkdir_p("$tmp_initrd/modules/$ext");
__ "tar xC $tmp_initrd/modules/$ext -f $modz/${type}_modules.tar";
_ "depmod -b $tmp_initrd $ext";
- _ "cp -f $modz/modules.description $tmp_initrd/modules/$ext";
+ # depmod keeps only available modules in modules.alias, but we want them all
+ _ "cp -f $modz/modules.alias $modz/modules.description $tmp_initrd/modules/$ext";
}
# ka deploy need some files in all.rdz
{