summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-03-15 14:31:14 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-03-15 14:31:14 +0000
commitc7dad17b3fb33460bdf011f7c785a9ebd2da47dc (patch)
tree27bc16991e9001d44b661162d92d26484294ffba /perl-install/modules.pm
parent7640d17c1c60117288767369534d875baf432314 (diff)
downloaddrakx-backup-do-not-use-c7dad17b3fb33460bdf011f7c785a9ebd2da47dc.tar
drakx-backup-do-not-use-c7dad17b3fb33460bdf011f7c785a9ebd2da47dc.tar.gz
drakx-backup-do-not-use-c7dad17b3fb33460bdf011f7c785a9ebd2da47dc.tar.bz2
drakx-backup-do-not-use-c7dad17b3fb33460bdf011f7c785a9ebd2da47dc.tar.xz
drakx-backup-do-not-use-c7dad17b3fb33460bdf011f7c785a9ebd2da47dc.zip
- add dmi_probe()
- some special code on dmi is now moved in dmitable with flags Pkg: and Module:
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 3a16b62e6..4f4d3b3f2 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -180,6 +180,7 @@ sub write_preload_conf {
push @l, 'scsi_hostadapter' if $conf->get_probeall('scsi_hostadapter');
push @l, intersection([ list_modules::category2modules('multimedia/dvb'), list_modules::category2modules('multimedia/tv') ],
[ map { $_->{driver} } detect_devices::probeall() ]);
+ push @l, map { if_($_->{driver} =~ /^Module:(.*)/, $1) } detect_devices::probeall();
push @l, 'nvram' if cat_('/proc/bus/input/devices') =~ m!^N: Name="SynPS/2 Synaptics TouchPad"$!m;
push @l, map { $_->{driver} } probe_category('various/laptop');
push @l, map { $_->{driver} } probe_category('multimedia/joystick');