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 <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-06-24 17:17:10 -07:00
parent e200e29fff
commit d8f5f56fff

View File

@ -18,8 +18,22 @@ sub run {
# select "rescue system"
if (get_var('UEFI')) {
send_key "down";
# 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";
}