From 859d4e8ee4be445412459381f14c94594aa0fe93 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 5 Jun 2012 17:48:26 +0000 Subject: (start_udev) do not start udev twice in debug mode --- perl-install/install/NEWS | 1 + perl-install/install/install2.pm | 2 ++ 2 files changed, 3 insertions(+) diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 82e9ae5d1..f0484d5fe 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,4 +1,5 @@ - debug mode: + o do not start udev twice o just start the installer if one quits the shell Version 14.26 - 5 June 2012 diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm index 5df051231..589287dc6 100644 --- a/perl-install/install/install2.pm +++ b/perl-install/install/install2.pm @@ -292,6 +292,8 @@ sub exitInstall { #-###################################################################################### sub start_udev() { + return if -e "/dev/zero"; + # Ensure /run is mounted mkdir("/run", 0755); run_program::run("mount -t tmpfs -o mode=0755,nosuid,nodev tmpfs /run"); -- cgit v1.2.1