summaryrefslogtreecommitdiffstats
path: root/images/make_boot_img
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-12 15:34:56 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-12 15:34:56 +0000
commit3b04821b81b3115bc5ac228ccc3c6f8786991f31 (patch)
tree9805ce5b73cf3dfe4fd6aafb9049597538346397 /images/make_boot_img
parenta33f6acea66267b5f1db65a588b67cb0468c5258 (diff)
downloaddrakx-backup-do-not-use-3b04821b81b3115bc5ac228ccc3c6f8786991f31.tar
drakx-backup-do-not-use-3b04821b81b3115bc5ac228ccc3c6f8786991f31.tar.gz
drakx-backup-do-not-use-3b04821b81b3115bc5ac228ccc3c6f8786991f31.tar.bz2
drakx-backup-do-not-use-3b04821b81b3115bc5ac228ccc3c6f8786991f31.tar.xz
drakx-backup-do-not-use-3b04821b81b3115bc5ac228ccc3c6f8786991f31.zip
restore full modules.alias (depmod keeps only available modules in modules.alias, but we want them all)
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-ximages/make_boot_img3
1 files changed, 2 insertions, 1 deletions
diff --git a/images/make_boot_img b/images/make_boot_img
index 27527ab49..0a89a8262 100755
--- a/images/make_boot_img
+++ b/images/make_boot_img
@@ -172,7 +172,8 @@ sub initrd {
mkdir_p("$tmp_initrd/modules/$ext");
__ "tar xC $tmp_initrd/modules/$ext -f $modz/${type}_modules.tar";
_ "depmod -b $tmp_initrd $ext";
- _ "cp -f $modz/modules.description $tmp_initrd/modules/$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";
}
# ka deploy need some files in all.rdz
{