From 285590e22a5f97545176a767fd399326dcb5c917 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 17 Sep 2012 17:59:03 +0000 Subject: fix modules.order so that cciss got detected (mga#5833) rationale: sorting fails in depmod when modules are compressed --- images/NEWS | 2 ++ images/make_boot_img | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'images') diff --git a/images/NEWS b/images/NEWS index 5f5144723..ff0126c03 100644 --- a/images/NEWS +++ b/images/NEWS @@ -1,3 +1,5 @@ +- fix modules.order so that cciss got detected (mga#5833) + Version 1.82 - 12 September 2012 by Thierry Vignaud - include overlayfs module instead of unionfs diff --git a/images/make_boot_img b/images/make_boot_img index 8855a552b..1c506b471 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -202,7 +202,7 @@ fi mkdir_p("$tmp_initrd/modules/$ext"); __ "tar xC $tmp_initrd/modules/$ext -f $modz/${type}_modules.tar"; _ "cp -f $modz/modules.$_ $tmp_initrd/modules/$ext" foreach qw(order builtin); - substInFile { s,.*/,, } "$tmp_initrd/modules/$ext/modules.order"; + substInFile { s,.*/,,; s,ko$,ko.xz, } "$tmp_initrd/modules/$ext/modules.order"; _ "depmod -b $tmp_initrd $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"; -- cgit v1.2.1