- Add gdm-disable-journal.patch: properly disable journald in all gdm, if asked (bnc#867344). - Add --disable-systemd-journal in specfile for SLE to disable journal support (bnc#867344). OBS-URL: https://build.opensuse.org/request/show/511181 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gdm?expand=0&rev=339
23 lines
685 B
Diff
23 lines
685 B
Diff
Index: gdm-3.10.0.1/daemon/gdm-slave-proxy.c
|
|
===================================================================
|
|
--- gdm-3.10.0.1.orig/daemon/gdm-slave-proxy.c
|
|
+++ gdm-3.10.0.1/daemon/gdm-slave-proxy.c
|
|
@@ -137,7 +137,7 @@ typedef struct {
|
|
static void
|
|
spawn_child_setup (SpawnChildData *data)
|
|
{
|
|
-#ifdef WITH_SYSTEMD
|
|
+#ifdef WITH_SYSTEMD && ENABLE_SYSTEMD_JOURNAL
|
|
if (sd_booted () > 0) {
|
|
return;
|
|
}
|
|
@@ -185,7 +185,7 @@ spawn_command_line_async (const char *co
|
|
|
|
data.identifier = argv[0];
|
|
|
|
-#ifdef WITH_SYSTEMD
|
|
+#ifdef WITH_SYSTEMD && ENABLE_SYSTEMD_JOURNAL
|
|
if (sd_booted () > 0) {
|
|
has_journald = TRUE;
|
|
}
|