From d8f5f56fff755855d17aabd950cec95c7afdf705 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Jun 25 2018 00:17:10 +0000 Subject: 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 --- diff --git a/tests/rescue_mode_encrypted.pm b/tests/rescue_mode_encrypted.pm index ed76a5c..1c3e889 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";