diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-10-03 23:05:46 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-10-03 23:05:46 +0000 |
commit | 5bb690bdafdb4f8da6da648972db15c761ab9a50 (patch) | |
tree | 6cb3fa33421665cdd10449b3184dcd662230fc8a | |
parent | 998f33ad4a1557e3c429476e5c93bcce158e7eac (diff) | |
download | draklive-5bb690bdafdb4f8da6da648972db15c761ab9a50.tar draklive-5bb690bdafdb4f8da6da648972db15c761ab9a50.tar.gz draklive-5bb690bdafdb4f8da6da648972db15c761ab9a50.tar.bz2 draklive-5bb690bdafdb4f8da6da648972db15c761ab9a50.tar.xz draklive-5bb690bdafdb4f8da6da648972db15c761ab9a50.zip |
add modules.dep for probe-modules
-rwxr-xr-x | draklive | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -491,6 +491,10 @@ sub create_initrd_for_media { } cp_f((map { $live->{settings}{config_root} . '/' . $_ } @{$live->{system}{additional_modules}}), $initrd_tree . "/modules/"); + cp_f(get_system_root($live) . $kernel_root . "/" . $_, $initrd_tree . "/modules/") + foreach qw(modules.dep); + substInFile { s![^ ]*/!!g; s!\.ko!!g; s!\.gz!!g } $initrd_tree . "/modules/modules.dep"; + @$skipped and print STDERR "skipped modules: " . join(' ', sort(@$skipped)) . "\n"; #- move ide-generic to end of loaded modules, so that it registers unhandled drives only |