diff options
author | Olivier Blin <blino@mageia.org> | 2012-05-16 22:12:42 +0000 |
---|---|---|
committer | Olivier Blin <blino@mageia.org> | 2012-05-16 22:12:42 +0000 |
commit | 3970af7a592574674141e268f4b66734c2c9d05d (patch) | |
tree | c8783c57057dd87b3809d91a6d47d45a623ecf10 /images/make_boot_img | |
parent | 054244e45904025ee9cbb0ae400b12b294525a06 (diff) | |
download | drakx-backup-do-not-use-3970af7a592574674141e268f4b66734c2c9d05d.tar drakx-backup-do-not-use-3970af7a592574674141e268f4b66734c2c9d05d.tar.gz drakx-backup-do-not-use-3970af7a592574674141e268f4b66734c2c9d05d.tar.bz2 drakx-backup-do-not-use-3970af7a592574674141e268f4b66734c2c9d05d.tar.xz drakx-backup-do-not-use-3970af7a592574674141e268f4b66734c2c9d05d.zip |
add modules.order and modules.builtin in initrd
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-x | images/make_boot_img | 2 |
1 files changed, 2 insertions, 0 deletions
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"; |