diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-09-22 09:54:25 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-09-22 09:54:25 +0000 |
commit | 1d34683bd9967baaf21bed862578cc05bc02b346 (patch) | |
tree | 8a7c6116258a72ddeb96247a25c0fbb58fdacf24 /kernel | |
parent | a9cfd7b60bf2115062f0b600b10ce704a848692b (diff) | |
download | drakx-1d34683bd9967baaf21bed862578cc05bc02b346.tar drakx-1d34683bd9967baaf21bed862578cc05bc02b346.tar.gz drakx-1d34683bd9967baaf21bed862578cc05bc02b346.tar.bz2 drakx-1d34683bd9967baaf21bed862578cc05bc02b346.tar.xz drakx-1d34683bd9967baaf21bed862578cc05bc02b346.zip |
make modname2filename load module deps if needed (dependencies_closure will thus return results in standalone mode, but it shouldn't matter)
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/list_modules.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/list_modules.pm b/kernel/list_modules.pm index 07d7e972e..e0fc3bce4 100644 --- a/kernel/list_modules.pm +++ b/kernel/list_modules.pm @@ -311,6 +311,8 @@ sub filename2modname { } sub modname2filename { + load_dependencies($::prefix . '/lib/modules/' . c::kernel_version() . '/modules.dep') + if !%filenames; $filenames{$_[0]}; } |