diff options
author | Anne Nicolas <ennael@mageia.org> | 2012-05-31 11:12:47 +0000 |
---|---|---|
committer | Anne Nicolas <ennael@mageia.org> | 2012-05-31 11:12:47 +0000 |
commit | 6082524aa66c4b55dff0342cc12aea33feab0b56 (patch) | |
tree | a0c303f58705f94cf06596d019736b006030ea04 /images/make_boot_img | |
parent | 2468d2fa6f11eab1774ef15c6f714e911a48d0d3 (diff) | |
parent | d6721a3d771fdf7f27d239cf6e5f10e7b0f32e00 (diff) | |
download | drakx-backup-do-not-use-6082524aa66c4b55dff0342cc12aea33feab0b56.tar drakx-backup-do-not-use-6082524aa66c4b55dff0342cc12aea33feab0b56.tar.gz drakx-backup-do-not-use-6082524aa66c4b55dff0342cc12aea33feab0b56.tar.bz2 drakx-backup-do-not-use-6082524aa66c4b55dff0342cc12aea33feab0b56.tar.xz drakx-backup-do-not-use-6082524aa66c4b55dff0342cc12aea33feab0b56.zip |
Really create 2 branch
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"; |