From b9edb9583def8b07567fda407fd704558d8423a2 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(-) 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