summaryrefslogtreecommitdiffstats
path: root/perl-install/install2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r--perl-install/install2.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 8f8666f02..a9e22535b 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -619,11 +619,11 @@ sub main {
}
modules::unload($_) foreach qw(vfat msdos fat);
- modules::load_deps("/modules/modules.dep");
+ modules::load_deps(($::testing ? ".." : "") . "/modules/modules.dep");
modules::read_stage1_conf("/tmp/conf.modules");
modules::read_already_loaded();
- eval { modules::load($_, 'prereq') } foreach qw(ide-probe ide-disk ide-cd sd_mod af_packet);
+ modules::load_multi(qw(ide-probe ide-disk ide-cd sd_mod af_packet));
install_any::lnx4win_preinstall() if $o->{lnx4win};
#-the main cycle