summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-10-04 05:55:19 +0000
committerThierry Vignaud <tv@mageia.org>2012-10-04 05:55:19 +0000
commit88e9ba69781561efc39bd5c663928651cf4641af (patch)
tree8cabf4ecb3feca61f69edad0852dbfe8c912600b /images/make_boot_img
parent74e2adb9131fd737d411243459d2899d8ad9c7e2 (diff)
downloaddrakx-backup-do-not-use-88e9ba69781561efc39bd5c663928651cf4641af.tar
drakx-backup-do-not-use-88e9ba69781561efc39bd5c663928651cf4641af.tar.gz
drakx-backup-do-not-use-88e9ba69781561efc39bd5c663928651cf4641af.tar.bz2
drakx-backup-do-not-use-88e9ba69781561efc39bd5c663928651cf4641af.tar.xz
drakx-backup-do-not-use-88e9ba69781561efc39bd5c663928651cf4641af.zip
no more need to fix modules.order
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-ximages/make_boot_img2
1 files changed, 1 insertions, 1 deletions
diff --git a/images/make_boot_img b/images/make_boot_img
index 517d959ec..29b60a6af 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -187,7 +187,7 @@ sub initrd {
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,.*/,,; s,ko$,ko.xz, } "$tmp_initrd/modules/$ext/modules.order";
+ substInFile { s,.*/,, } "$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";