Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dgarcia:staging
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-45.0.1/daemon/gdm-display.c =================================================================== --- gdm-45.0.1.orig/daemon/gdm-display.c +++ gdm-45.0.1/daemon/gdm-display.c @@ -1622,6 +1622,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 ()) { @@ -1658,6 +1661,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