diff options
Diffstat (limited to 'perl-install/partition_table')
-rw-r--r-- | perl-install/partition_table/gpt.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/partition_table/gpt.pm b/perl-install/partition_table/gpt.pm index d07b634d0..4a277f7b6 100644 --- a/perl-install/partition_table/gpt.pm +++ b/perl-install/partition_table/gpt.pm @@ -182,6 +182,9 @@ sub write { c::disk_del_partition($hd->{file}, $part_number) or die "failed to del partition #$part_number on $hd->{file}"; } } + # prevent errors when telling kernel to reread partition table: + # (above add/del_partition result in udev events) + system(qw(udevadm settle)); common::sync(); 1; } |