From b34c6140c466f02b554d178b37482d1dc94aba31 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 16 May 2012 22:12:42 +0000 Subject: add modules.order and modules.builtin in initrd --- images/NEWS | 2 ++ images/make_boot_img | 2 ++ 2 files changed, 4 insertions(+) (limited to 'images') diff --git a/images/NEWS b/images/NEWS index 99bd44eb1..ab2d650ba 100644 --- a/images/NEWS +++ b/images/NEWS @@ -1,3 +1,5 @@ +- add modules.order and modules.builtin in initrd + Version 1.74 - 5 April 2012 by Thierry Vignaud - include "fuse" module (mga#5685) diff --git a/images/make_boot_img b/images/make_boot_img index 935d44e1e..a31a01b6f 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -202,6 +202,8 @@ fi my $modz = "all.kernels$I/$ext"; 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"; _ "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