mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-23 22:43:07 +00:00
decrypt: instead of waiting, let's try slow typing
Seems the bug might just be that plymouth got more sensitive to fast typing, so instead of waiting, let's try slow typing. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
f2dcfed498
commit
04e9f84338
@ -408,12 +408,7 @@ sub boot_decrypt {
|
|||||||
# decrypt storage during boot; arg is timeout (in seconds)
|
# decrypt storage during boot; arg is timeout (in seconds)
|
||||||
my $timeout = shift || 60;
|
my $timeout = shift || 60;
|
||||||
assert_screen "boot_enter_passphrase", $timeout;
|
assert_screen "boot_enter_passphrase", $timeout;
|
||||||
# FIXME: wait and re-assert to workaround
|
type_very_safely get_var("ENCRYPT_PASSWORD");
|
||||||
# https://bugzilla.redhat.com/show_bug.cgi?id=2256682 , can
|
|
||||||
# drop this is that is fixed
|
|
||||||
wait_still_screen 3;
|
|
||||||
assert_screen "boot_enter_passphrase";
|
|
||||||
type_string get_var("ENCRYPT_PASSWORD");
|
|
||||||
send_key "ret";
|
send_key "ret";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user