diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-09-29 10:47:02 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-09-29 10:47:02 +0000 |
commit | 49b0b68a271f5d30908363215bc121c378c248c6 (patch) | |
tree | 4c5742ffffab3dda0a6e8f096e03d4e7c694f29d /kernel | |
parent | 18914ad22d09ef2e109efb06ed058b59c22f2038 (diff) | |
download | drakx-49b0b68a271f5d30908363215bc121c378c248c6.tar drakx-49b0b68a271f5d30908363215bc121c378c248c6.tar.gz drakx-49b0b68a271f5d30908363215bc121c378c248c6.tar.bz2 drakx-49b0b68a271f5d30908363215bc121c378c248c6.tar.xz drakx-49b0b68a271f5d30908363215bc121c378c248c6.zip |
keep 2.4 compatibility aliases in modules list for stage1
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/modules.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/modules.pl b/kernel/modules.pl index 761834dc3..7e925d62a 100644 --- a/kernel/modules.pl +++ b/kernel/modules.pl @@ -216,6 +216,8 @@ sub pci_modules4stage1 { my @list = map { s/\.k?o.*$//; $_ } get_main_modules(); my %listed; @listed{@list} = (); + #- keep 2.4 compatibility aliases (to sync with get_name_kernel_26_transition() from mdk-stage1/modules.c) + @listed{qw(usb-ohci usb-uhci uhci bcm4400 3c559 3c90x dc395x_trm)} = (); my @modules = difference2([ category2modules($category) ], \@modules_removed_from_stage1); my ($kept, $rejected) = partition { exists $listed{$_} } @modules; print STDERR "REJECTED @$rejected\n" if $verbose; |