diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2010-04-30 16:26:17 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2010-04-30 16:26:17 +0000 |
commit | e156bbaa1b3865d9532eaef6156b4d1b26e96034 (patch) | |
tree | 0377d45c9c081dd97c2697bf0525edb7f016f66e /perl-install/diskdrake | |
parent | 69ce41a4ee0fa7a696d8ff3ec4fbf7e394738180 (diff) | |
download | drakx-e156bbaa1b3865d9532eaef6156b4d1b26e96034.tar drakx-e156bbaa1b3865d9532eaef6156b4d1b26e96034.tar.gz drakx-e156bbaa1b3865d9532eaef6156b4d1b26e96034.tar.bz2 drakx-e156bbaa1b3865d9532eaef6156b4d1b26e96034.tar.xz drakx-e156bbaa1b3865d9532eaef6156b4d1b26e96034.zip |
fix race when creating encrypted partition out of install
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r-- | perl-install/diskdrake/interactive.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm index 535de67ec..5d25312d2 100644 --- a/perl-install/diskdrake/interactive.pm +++ b/perl-install/diskdrake/interactive.pm @@ -568,6 +568,8 @@ First remove a primary partition and create an extended partition.")); $p->{toFormatCheck} = $in->ask_yesorno(N("Confirmation"), N("Check bad blocks?")); } $p->{isFormatted} = 0; #- force format; + # Wait for the newly created device to appear before formatting it + run_program::run('udevadm', 'settle') unless $::isInstall; my ($_w, $wait_message) = $in->wait_message_with_progress_bar; fs::format::part($all_hds, $p, $wait_message) unless isRawLVM($p); } |