1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 07:13:09 +00:00

launch desktop, not installer, at end of g-i-s on notifications

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-08-23 10:15:07 -07:00
parent a8d17e057f
commit 9528d37582
2 changed files with 10 additions and 4 deletions

View File

@ -710,12 +710,17 @@ sub handle_welcome_screen {
}
sub gnome_initial_setup {
# Handle gnome-initial-setup, with variations for the pre-login
# mode (when no user was created during install) and post-login
# mode (when user was created during install)
# Handle gnome-initial-setup, with variations for live mode (the
# short run on live boot since F39), the pre-login mode (when no
# user was created during install) and post-login mode (when user
# was created during install). post-login mode currently (2023-08)
# unused, but may come back in future. 'livetry' indicates whether
# to launch the installer (0) or desktop (1) at the end of live
# flow
my %args = (
prelogin => 0,
live => 0,
livetry => 0,
timeout => 120,
@_
);
@ -827,6 +832,7 @@ sub gnome_initial_setup {
record_soft_failure "GOA screen not seen! Likely RHBZ #1997310";
}
}
send_key "tab" if ($args{live} && $args{livetry});
# on the 'live' flow, this will launch the installer
send_key "ret";
# we don't want to do anything further on the 'live' flow

View File

@ -93,7 +93,7 @@ sub run {
}
elsif ($desktop eq 'gnome' && $relnum > 39) {
# since g-i-s 45~beta-3 we get a short g-i-s flow on live boot
gnome_initial_setup(live => 1);
gnome_initial_setup(live => 1, livetry => 1);
}
check_desktop(timeout => 90);
# now, WE WAIT. this is just an unconditional wait - rather than