summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm
index 3b9d1ef5f..823d03386 100644
--- a/perl-install/install2.pm
+++ b/perl-install/install2.pm
@@ -421,7 +421,7 @@ sub main {
log::openLog($::testing && 'debug.log');
log::l("second stage install running (", install_any::drakx_version(), ")");
- eval { output('/proc/sys/kernel/modprobe', "\n") } if !$::testing; #- disable kmod, otherwise we get a different behaviour in kernel vs kernel-BOOT
+ eval { output('/proc/sys/kernel/modprobe', "\n") } if !$::local_install && !$::testing; #- disable kmod, otherwise we get a different behaviour in kernel vs kernel-BOOT
eval { fs::mount('none', '/sys', 'sysfs', 1) };
if ($::move) {