Commit 04676fd9 authored by Harald Sitter's avatar Harald Sitter

add a sleep while partitioning

this is a try to prevent the partitioning failing on obscure fdisk
errors without useful error output. I believe this is because of a race
when initializing the modules, but find it hard to proof that theory.
if a sleep really fixes the problem in many runs then we can be fairly
certain that it is a race.
parent 9861ef46
......@@ -35,6 +35,11 @@ sub cala_setup_geoip {
sub cala_welcome {
assert_screen 'calamares-installer-welcome', 30;
# Sleep in an attempt to prevent a race condition when partioning a disk
# which had partitions already. This would result in obscure
# errors when partitioning saying that fdisk failed but not giving any
# worthwhile output.
sleep(8);
assert_and_click 'calamares-installer-next';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment