summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/install/install2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 589287dc6..37f2dc7aa 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -610,7 +610,7 @@ sub main {
log::l("second stage install running (", install::any::drakx_version($o), ")");
eval { output('/proc/sys/kernel/modprobe', "\n") } if !$::local_install && !$::testing; #- disable kmod
- eval { fs::mount::mount('none', '/sys', 'sysfs', 1) };
+ eval { fs::mount::mount('none', '/sys', 'sysfs', 1) } if !install::any::dont_run_directly_stage2();
eval { touch('/root/non-chrooted-marker.DrakX') }; #- helps distinguishing /root and /mnt/root when we don't know if we are chrooted
if ($::local_install) {