summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-12-22 12:40:28 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-12-22 12:40:28 +0000
commit474ab43e912f2191f14ed23a4e8486059e349cd7 (patch)
treea9e3e6814051a8578bbac249df912dff7362d76f /kernel
parentc8288658a68b6190158c28920d8d614cf303d954 (diff)
downloaddrakx-474ab43e912f2191f14ed23a4e8486059e349cd7.tar
drakx-474ab43e912f2191f14ed23a4e8486059e349cd7.tar.gz
drakx-474ab43e912f2191f14ed23a4e8486059e349cd7.tar.bz2
drakx-474ab43e912f2191f14ed23a4e8486059e349cd7.tar.xz
drakx-474ab43e912f2191f14ed23a4e8486059e349cd7.zip
(load_dependencies) handle Mandriva kernel packages' modules.dep (these
kernels have compressed modules, unlike vanilla kernels)
Diffstat (limited to 'kernel')
-rw-r--r--kernel/list_modules.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/list_modules.pm b/kernel/list_modules.pm
index 2b0335d2b..35e62c40f 100644
--- a/kernel/list_modules.pm
+++ b/kernel/list_modules.pm
@@ -269,6 +269,7 @@ sub load_dependencies {
%dependencies = map {
s![^ ]*/!!g;
s!\.ko!!g;
+ s!\.gz!!g;
my ($f, $deps) = split ':';
$f => [ split ' ', $deps ];
} cat_($file);