diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-12-19 13:22:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-12-19 13:22:03 +0000 |
commit | 6eb2abd201f1856896558e44459a8238bde8d20e (patch) | |
tree | e8a7d851db8bff156ce1767c38f70e5cf83c66f7 /kernel | |
parent | a8ffbf6610d532bd31a011aa026c2230857dadba (diff) | |
download | drakx-6eb2abd201f1856896558e44459a8238bde8d20e.tar drakx-6eb2abd201f1856896558e44459a8238bde8d20e.tar.gz drakx-6eb2abd201f1856896558e44459a8238bde8d20e.tar.bz2 drakx-6eb2abd201f1856896558e44459a8238bde8d20e.tar.xz drakx-6eb2abd201f1856896558e44459a8238bde8d20e.zip |
(load_dependencies) handle kernel packages' modules.dep, not only DrakX' ones
(this is usefull for mkinitrd in perl)
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 5a0f08ca9..53a3f7851 100644 --- a/kernel/list_modules.pm +++ b/kernel/list_modules.pm @@ -266,6 +266,8 @@ sub load_dependencies { my ($file) = @_; %dependencies = map { + s![^ ]*/!!g; + s!\.ko!!g; my ($f, $deps) = split ':'; $f => [ split ' ', $deps ]; } cat_($file); |