summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-11-29 13:33:13 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-11-29 13:33:13 +0000
commit30f2116fc2469af76dcc368eb310a5b1a8608fd6 (patch)
treebc4b04d9321a7fcac6e3ced4d7f205a3c4895369 /perl-install/install_any.pm
parent044b26d67ffc8414b03db679effecbdb68c3be1b (diff)
downloaddrakx-30f2116fc2469af76dcc368eb310a5b1a8608fd6.tar
drakx-30f2116fc2469af76dcc368eb310a5b1a8608fd6.tar.gz
drakx-30f2116fc2469af76dcc368eb310a5b1a8608fd6.tar.bz2
drakx-30f2116fc2469af76dcc368eb310a5b1a8608fd6.tar.xz
drakx-30f2116fc2469af76dcc368eb310a5b1a8608fd6.zip
(setDefaultPackages) better support for DELL laptops: preload i8k driver
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index afd3e086d..b98e84402 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -650,6 +650,7 @@ sub setDefaultPackages {
push @{$o->{default_packages}}, "alsa", "alsa-utils" if any { $o->{modules_conf}->get_alias("sound-slot-$_") =~ /^snd-/ } 0 .. 4;
my ($dmi) = grep { $_->{name} eq 'System' } detect_devices::dmidecode();
if ($dmi->{Manufacturer} eq "Dell Computer" && member($dmi->{'Product Name'}, qw(Inspiron Latitude))) {
+ modules::append_to_modules_loaded_at_startup($_, 'i8k') foreach "$::prefix/etc/modules", "$::prefix/etc/modprobe.preload";
push @{$o->{default_packages}}, "i8kutils"
}
push @{$o->{default_packages}}, "grub" if isLoopback(fs::get::root($o->{fstab}));