summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/install/install2.pm5
2 files changed, 6 insertions, 2 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 0c3dcf0f6..6eb18394c 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- fix rebooting on autoinstall by using a "wider" regexp (otherwise udevd was
+ not found by fuzzy_pidofs) and gives some time to udevd process to disappear.
+ Also, don't try to unmount /dev as it's still used by other processes.
- pkgs.pm, http.pm: Allow to set urpm curl options in order to be able
to make curl quiet when running an autoinstall in text mode. This can
be set throught the new option "curl_options" in the auto_inst file.
diff --git a/perl-install/install/install2.pm b/perl-install/install/install2.pm
index 44d9bf916..99a122e03 100644
--- a/perl-install/install/install2.pm
+++ b/perl-install/install/install2.pm
@@ -311,9 +311,10 @@ sub start_udev() {
}
sub stop_udev() {
- kill 15, fuzzy_pidofs('^udevd\b');
+ kill 15, fuzzy_pidofs('udevd');
+ sleep(2);
require fs::mount;
- fs::mount::umount($_) foreach '/dev/pts', '/dev/shm', '/run', '/dev';
+ fs::mount::umount($_) foreach '/dev/pts', '/dev/shm', '/run';
}
#-######################################################################################