summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install/commands.pm4
-rw-r--r--perl-install/install/install2.pm2
2 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/install/commands.pm b/perl-install/install/commands.pm
index 982667d20..4f19a1a2d 100644
--- a/perl-install/install/commands.pm
+++ b/perl-install/install/commands.pm
@@ -295,7 +295,7 @@ sub modprobe {
$h || @_ == 0 and die "usage: modprobe <module> [options]\n";
my $name = shift;
require modules;
- modules::load_dependencies("/modules/modules.dep");
+ list_modules::load_default_moddeps();
modules::load_with_options([ $name ], { $name => join(' ', @_) });
}
@@ -401,7 +401,7 @@ sub bug {
require any;
require modules;
- modules::load_dependencies("/modules/modules.dep");
+ list_modules::load_default_moddeps();
my $part;
if ($o_part_device) {
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 871dadfbb..269dd5b7e 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -420,7 +420,7 @@ sub main {
eval { install::any::spawnShell() };
- modules::load_dependencies("/modules/modules.dep");
+ list_modules::load_default_moddeps();
require modules::any_conf;
require modules::modules_conf;
$o->{modules_conf} = modules::modules_conf::read(modules::any_conf::vnew(), '/tmp/modules.conf');