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:
Adam Williamson 2024-01-03 17:40:31 -08:00
parent f2dcfed498
commit 04e9f84338
1 changed files with 1 additions and 6 deletions

View File

@ -408,12 +408,7 @@ sub boot_decrypt {
# decrypt storage during boot; arg is timeout (in seconds)
my $timeout = shift || 60;
assert_screen "boot_enter_passphrase", $timeout;
# FIXME: wait and re-assert to workaround
# 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");
type_very_safely get_var("ENCRYPT_PASSWORD");
send_key "ret";
}