mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-22 02:13:08 +00:00
More tweaking for UEFI boot params on aarch64
Seems we're dealing with a bug, here. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
cc1067a95a
commit
e685f00bd0
12
lib/utils.pm
12
lib/utils.pm
@ -229,12 +229,16 @@ sub do_bootloader {
|
||||
else {
|
||||
send_key "e";
|
||||
# 2 'downs' to reach the kernel line for UEFI installer,
|
||||
# 13 'downs' on installed x86_64, 12 'downs' on installed
|
||||
# aarch64 / ppc64 (there's a 'set_root' line on x86_64 but
|
||||
# not on aarch64 or ppc64)
|
||||
# 13 'downs' on installed x86_64. 12 'downs' on installed
|
||||
# ppc64, because it doesn't have a 'set gfxpayload=keep'
|
||||
# line. installed aarch64 is tricky: it should be 13, I
|
||||
# think - it has a set gfxpayload=keep line - but it seems
|
||||
# that on F27 installs (i.e. support_server) there is a
|
||||
# 'set root' line, but on F28+ installs there is not, so
|
||||
# the count is 12. So we have to do something gross.
|
||||
my $presses = 2;
|
||||
if ($args{postinstall}) {
|
||||
if (get_var('OFW') || get_var('ARCH') eq 'aarch64') {
|
||||
if (get_var('OFW') || (get_var('ARCH') eq 'aarch64' && get_var('TEST') ne 'support_server')) {
|
||||
$presses = 12;
|
||||
} else {
|
||||
$presses = 13;
|
||||
|
Loading…
Reference in New Issue
Block a user