summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/modules.pl3
-rw-r--r--perl-install/modules.pm1
2 files changed, 1 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;
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index d6e9e10fb..6c7f564dd 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -90,6 +90,7 @@ sub load_with_options {
my ($l, $h_options) = @_;
my @l = map {
+ if_(member($_, 'plip', 'ppa', 'imm'), 'parport_pc'),
if_($_ eq 'vfat', 'nls_cp437', 'nls_iso8859_1'),
dependencies_closure(cond_mapping_24_26($_));
} @$l;