From ecbe67811d39220b60bc5de558a3129e5746a2c2 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 20 Jan 2005 13:03:44 +0000 Subject: (default_packages) handle buggy laptops that're unusable without laoding acerhk module --- perl-install/install_any.pm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'perl-install') 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}}); -- cgit v1.2.1