From e7b4e2b9b82bea82f281ae9ea0c1e61cc37b44c8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 5 Jun 2012 17:48:32 +0000 Subject: (main) do not try to mount /sys twice if udev was started by a script in debug mode --- perl-install/install/install2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') 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) { -- cgit v1.2.1