incomplete fix for _graphical_wait_login

- get_release_number is used heavily in our openQA but makes no sense in 
Rocky. Multiple possible solutions but this one allows 
`_graphical_wait_login` to pass. NEEDS_WORK
This commit is contained in:
Trevor Cooper 2022-07-09 09:02:32 -07:00
parent a45b23b9bc
commit bdb7bd921c
Signed by: tcooper
GPG Key ID: 52364D7BBCEB35B8

View File

@ -103,10 +103,9 @@ sub run {
# as this test gets loaded twice on the ADVISORY_OR_TASK flow, and
# we might be on the INSTALL_NO_USER flow, check whether
# this happened already
my $relnum = get_release_number;
my $version_major = get_version_major();
if (($relnum < 34) || ($version_major < 9)) {
# before GNOME 40 (F34), we get a per-user version of
if ($version_major < 9) {
# before GNOME 40 we get a per-user version of
# gnome-initial-setup here...
gnome_initial_setup() unless (get_var("_setup_done"));
}