From f3c5ce01ee71ba2b210ea4a5d4447232ae1d2fe9 Mon Sep 17 00:00:00 2001 From: Thomas Backlund Date: Fri, 29 May 2015 10:56:19 +0200 Subject: run udevadm settle after actions that trigger device reload (Martin Whitaker, mga#15999) --- perl-install/fsedit.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl-install/fsedit.pm') diff --git a/perl-install/fsedit.pm b/perl-install/fsedit.pm index edb2392ad..2e7e0d2d7 100644 --- a/perl-install/fsedit.pm +++ b/perl-install/fsedit.pm @@ -276,6 +276,9 @@ Do you agree to lose all the partitions? my @parts = partition_table::get_normal_parts($hd); + # fix installer failures due to udev's race when run too early: + run_program::run('udevadm', 'settle'); + # checking the magic of the filesystem, do not rely on pt_type foreach (@parts) { if (my $type = fs::type::type_subpart_from_magic($_)) { -- cgit v1.2.1