Don't expect GDM when doing GNOME no-user install on F28+

GNOME now transitions straight from the g-i-s 'user creation'
mode to a logged-in desktop.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2018-09-06 18:20:08 -07:00
parent e3887c5a83
commit 5a48086e61

View File

@ -25,7 +25,10 @@ sub run {
}
$wait_time = 300;
}
# Wait for the login screen
# Wait for the login screen, unless we're doing an > 28 GNOME no
# user install, which transitions straight from g-i-s to logged-in
# desktop
unless (get_var("DESKTOP") eq 'gnome' && ($version > 28 || $version eq "Rawhide") && get_var("INSTALL_NO_USER")) {
boot_to_login_screen(timeout => $wait_time);
# if USER_LOGIN is set to string 'false', we're done here
return if (get_var("USER_LOGIN") eq "false");
@ -51,6 +54,7 @@ sub run {
type_very_safely $password;
}
send_key "ret";
}
# Handle initial-setup, for GNOME, unless START_AFTER_TEST
# is set in which case it will have been done already. Always