summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_any.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 14b018c2d..3f3453289 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -718,15 +718,15 @@ sub default_packages {
push @l, "alsa", "alsa-utils" if any { $o->{modules_conf}->get_alias("sound-slot-$_") =~ /^snd-/ } 0 .. 4;
my %dmi = map { $_->{name} => $_ } detect_devices::dmidecode();
if ($dmi{System}{Manufacturer} eq "Dell Computer" && member($dmi{System}{'Product Name'}, qw(Inspiron Latitude))) {
- modules::append_to_modules_loaded_at_startup($_, 'i8k') foreach "$::prefix/etc/modules", "$::prefix/etc/modprobe.preload";
+ modules::append_to_modules_loaded_at_startup_for_all_kernels('i8k');
push @l, "i8kutils";
}
if ($dmi{System}{Manufacturer} eq 'TOSHIBA' && $dmi{BIOS}{Vendor} eq 'TOSHIBA') {
- modules::append_to_modules_loaded_at_startup($_, 'toshiba') foreach "$::prefix/etc/modules", "$::prefix/etc/modprobe.preload";
+ modules::append_to_modules_loaded_at_startup_for_all_kernels('toshiba');
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";
+ modules::append_to_modules_loaded_at_startup_for_all_kernels('acerhk');
}
push @l, "grub" if isLoopback(fs::get::root($o->{fstab}));