summaryrefslogtreecommitdiffstats
path: root/images
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
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')
-rw-r--r--images/NEWS3
-rwxr-xr-ximages/make_boot_img3
2 files changed, 5 insertions, 1 deletions
diff --git a/images/NEWS b/images/NEWS
index 06b1ac316..ad4a509b9 100644
--- a/images/NEWS
+++ b/images/NEWS
@@ -1,3 +1,6 @@
+- restore full modules.alias (depmod keeps only available modules in
+ modules.alias, but we want them all)
+
Version 1.27 - 12 February 2008, by Olivier "blino" Blin
- add modules in /modules/`uname -r` and use depmod to build
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
{