summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-01-20 13:03:44 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-01-20 13:03:44 +0000
commitecbe67811d39220b60bc5de558a3129e5746a2c2 (patch)
tree2cf7d28a31fd28e2b0d47364b94a01f71a04b075 /perl-install/install_any.pm
parent261694e37df4b1100be5a379ec90924af04f1d6c (diff)
downloaddrakx-ecbe67811d39220b60bc5de558a3129e5746a2c2.tar
drakx-ecbe67811d39220b60bc5de558a3129e5746a2c2.tar.gz
drakx-ecbe67811d39220b60bc5de558a3129e5746a2c2.tar.bz2
drakx-ecbe67811d39220b60bc5de558a3129e5746a2c2.tar.xz
drakx-ecbe67811d39220b60bc5de558a3129e5746a2c2.zip
(default_packages) handle buggy laptops that're unusable without
laoding acerhk module
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index eadee25e6..14b018c2d 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -725,6 +725,10 @@ sub default_packages {
modules::append_to_modules_loaded_at_startup($_, 'toshiba') foreach "$::prefix/etc/modules", "$::prefix/etc/modprobe.preload";
push @l, "toshutils";
}
+ if ($dmi{BIOS}{Vendor} eq 'COMPAL' && $dmi{BIOS}{Characteristics} =~ /Function key-initiated network boot is supported/) {
+ modules::append_to_modules_loaded_at_startup($_, 'acerhk') foreach "$::prefix/etc/modules", "$::prefix/etc/modprobe.preload";
+ }
+
push @l, "grub" if isLoopback(fs::get::root($o->{fstab}));
push @l, uniq(grep { $_ } map { fs::format::package_needed_for_partition_type($_) } @{$o->{fstab}});