summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-ximages/make_boot_img3
1 files changed, 2 insertions, 1 deletions
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
{