30 lines
843 B
Diff
30 lines
843 B
Diff
--- a/daemon/gdm-display.c
|
|
+++ b/daemon/gdm-display.c
|
|
@@ -1653,6 +1653,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_on_this_boot ()) {
|
|
@@ -1689,6 +1692,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;
|
|
}
|
|
|