From d8f5f56fff755855d17aabd950cec95c7afdf705 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Sun, 24 Jun 2018 17:17:10 -0700 Subject: [PATCH] Also do 'console=tty0' workaround for rescue boot on aarch64 ...sigh, another place this is needed, and it's a bit ugly here. Ah, well. Signed-off-by: Adam Williamson --- tests/rescue_mode_encrypted.pm | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/tests/rescue_mode_encrypted.pm b/tests/rescue_mode_encrypted.pm index ed76a5c2..1c3e8899 100644 --- a/tests/rescue_mode_encrypted.pm +++ b/tests/rescue_mode_encrypted.pm @@ -18,7 +18,21 @@ sub run { # select "rescue system" if (get_var('UEFI')) { send_key "down"; - send_key "ret"; + # we need this on aarch64 till #1594402 is resolved + if (get_var('ARCH') eq 'aarch64') { + send_key "e"; + # duped with do_bootloader, sadly... + send_key "down"; + sleep 1; + send_key "down"; + sleep 1; + send_key "end"; + type_safely " console=tty0"; + send_key "ctrl-x"; + } + else { + send_key "ret"; + } } else { type_string "r\n";