diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2005-05-30 02:58:14 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2005-05-30 02:58:14 +0000 |
commit | e2cf26546e724fd5c3f581cfdad62f317da5d284 (patch) | |
tree | 0538c6650e8cbc287a2f84e9390cd152e95dd5b6 /perl-install | |
parent | d8a1d8a051bd6dd1a75ffe1a61ff6ac7110abeca (diff) | |
download | drakx-backup-do-not-use-e2cf26546e724fd5c3f581cfdad62f317da5d284.tar drakx-backup-do-not-use-e2cf26546e724fd5c3f581cfdad62f317da5d284.tar.gz drakx-backup-do-not-use-e2cf26546e724fd5c3f581cfdad62f317da5d284.tar.bz2 drakx-backup-do-not-use-e2cf26546e724fd5c3f581cfdad62f317da5d284.tar.xz drakx-backup-do-not-use-e2cf26546e724fd5c3f581cfdad62f317da5d284.zip |
(write_preload_conf) factorize modules managment
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/modules.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm index f35a44b93..2351bd556 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -188,12 +188,9 @@ sub write_preload_conf { my ($conf) = @_; my @l; push @l, 'scsi_hostadapter' if $conf->get_probeall('scsi_hostadapter'); - push @l, map { $_->{driver} } probe_category($_) foreach qw(multimedia/dvb multimedia/tv); push @l, map { if_($_->{driver} =~ /^Module:(.*)/, $1) } detect_devices::probeall(); push @l, 'nvram' if detect_devices::isLaptop(); - push @l, map { $_->{driver} } probe_category('various/laptop'); - push @l, map { $_->{driver} } probe_category('input/joystick'); - push @l, map { $_->{driver} } probe_category('various/crypto'); + push @l, map { $_->{driver} } probe_category($_) foreach qw(multimedia/dvb multimedia/tv various/laptop input/joystick various/crypto); push @l, 'padlock' if cat_("/proc/cpuinfo") =~ /rng_en/; push @l, 'evdev' if detect_devices::getSynapticsTouchpads(); my @l_26 = @l; |