mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-02-16 12:34:32 +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:
parent
a8d17e057f
commit
9528d37582
12
lib/utils.pm
12
lib/utils.pm
@ -710,12 +710,17 @@ sub handle_welcome_screen {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sub gnome_initial_setup {
|
sub gnome_initial_setup {
|
||||||
# Handle gnome-initial-setup, with variations for the pre-login
|
# Handle gnome-initial-setup, with variations for live mode (the
|
||||||
# mode (when no user was created during install) and post-login
|
# short run on live boot since F39), the pre-login mode (when no
|
||||||
# mode (when user was created during install)
|
# 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 = (
|
my %args = (
|
||||||
prelogin => 0,
|
prelogin => 0,
|
||||||
live => 0,
|
live => 0,
|
||||||
|
livetry => 0,
|
||||||
timeout => 120,
|
timeout => 120,
|
||||||
@_
|
@_
|
||||||
);
|
);
|
||||||
@ -827,6 +832,7 @@ sub gnome_initial_setup {
|
|||||||
record_soft_failure "GOA screen not seen! Likely RHBZ #1997310";
|
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
|
# on the 'live' flow, this will launch the installer
|
||||||
send_key "ret";
|
send_key "ret";
|
||||||
# we don't want to do anything further on the 'live' flow
|
# we don't want to do anything further on the 'live' flow
|
||||||
|
@ -93,7 +93,7 @@ sub run {
|
|||||||
}
|
}
|
||||||
elsif ($desktop eq 'gnome' && $relnum > 39) {
|
elsif ($desktop eq 'gnome' && $relnum > 39) {
|
||||||
# since g-i-s 45~beta-3 we get a short g-i-s flow on live boot
|
# 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);
|
check_desktop(timeout => 90);
|
||||||
# now, WE WAIT. this is just an unconditional wait - rather than
|
# now, WE WAIT. this is just an unconditional wait - rather than
|
||||||
|
Loading…
Reference in New Issue
Block a user