Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:acdc:as_python3_module
gdm
gdm-disable-gnome-initial-setup.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gdm-disable-gnome-initial-setup.patch of Package gdm
Index: gdm-41.3/daemon/gdm-display.c =================================================================== --- gdm-41.3.orig/daemon/gdm-display.c +++ gdm-41.3/daemon/gdm-display.c @@ -1655,6 +1655,9 @@ wants_initial_setup (GdmDisplay *self) gboolean enabled = FALSE; gboolean forced = FALSE; + g_autofree gchar *release_name = NULL; + release_name = g_get_os_info (G_OS_INFO_KEY_NAME); + priv = gdm_display_get_instance_private (self); if (already_done_initial_setup ()) { @@ -1691,6 +1694,16 @@ wants_initial_setup (GdmDisplay *self) return FALSE; } + if (release_name == NULL) { + g_error ("GdmDisplay: Failed to parse os-release"); + return enabled; + } + + if (g_str_has_prefix (release_name, "SLE")) { + g_debug ("GdmDisplay: Disable gnome-initial-setup on SLE"); + return FALSE; + } + return enabled; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor