summaryrefslogtreecommitdiffstats
path: root/kernel/modules.pl
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-02-11 23:18:33 +0000
committerOlivier Blin <oblin@mandriva.com>2008-02-11 23:18:33 +0000
commitcad0628b21c98bc472725ed4bdc15eca0d6a031b (patch)
tree22dc3555acbdddcec330d202cade810c53b722d7 /kernel/modules.pl
parentd488dbbcf96a1ba339b663cfec33d74302d7a0f8 (diff)
downloaddrakx-cad0628b21c98bc472725ed4bdc15eca0d6a031b.tar
drakx-cad0628b21c98bc472725ed4bdc15eca0d6a031b.tar.gz
drakx-cad0628b21c98bc472725ed4bdc15eca0d6a031b.tar.bz2
drakx-cad0628b21c98bc472725ed4bdc15eca0d6a031b.tar.xz
drakx-cad0628b21c98bc472725ed4bdc15eca0d6a031b.zip
do not modify modules.dep to load parport_pc for parport, but inline in code (to keep a "clean" modules.dep)
Diffstat (limited to 'kernel/modules.pl')
-rw-r--r--kernel/modules.pl3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/modules.pl b/kernel/modules.pl
index de6ce1b7b..23af8c099 100644
--- a/kernel/modules.pl
+++ b/kernel/modules.pl
@@ -72,9 +72,6 @@ sub filter_modules_dep {
@l = map {
my ($f, $d) = split ':';
my ($module, @deps) = map { m!.*/(.*)\.k?o(\.gz)$! && $1 } $f, split(' ', $d);
- if (member($module, 'plip', 'ppa', 'imm')) {
- @deps = map { $_ eq 'parport' ? 'parport_pc' : $_ } @deps;
- }
join(' ', "$module:", @deps);
} @l;