aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGregor <dan.mcgregor@usask.ca>2014-08-14 08:21:02 -0600
committerDan McGregor <dan.mcgregor@usask.ca>2015-02-11 22:05:56 -0600
commit764e8102355266ab5347dea9200611f27f05e784 (patch)
treee46e8590ad050dda99108dc050157d236243314c
parentf7ce028b08470b719656bd9465a1cad527d9af5a (diff)
downloadmeta-openembedded-contrib-764e8102355266ab5347dea9200611f27f05e784.tar.gz
meta-openembedded-contrib-764e8102355266ab5347dea9200611f27f05e784.tar.bz2
meta-openembedded-contrib-764e8102355266ab5347dea9200611f27f05e784.zip
gdm: Only start in runlevel 5
Runlevel 5 is traditionally graphical. If it starts in runlevel 2 or 3 systemd gets confused and adds it as a dependency of the multi-user target, not just the graphical target. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
-rwxr-xr-xmeta-gnome/recipes-gnome/gdm/gdm/gdm4
-rw-r--r--meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb2
2 files changed, 3 insertions, 3 deletions
diff --git a/meta-gnome/recipes-gnome/gdm/gdm/gdm b/meta-gnome/recipes-gnome/gdm/gdm/gdm
index 43eae95177..bb5b418645 100755
--- a/meta-gnome/recipes-gnome/gdm/gdm/gdm
+++ b/meta-gnome/recipes-gnome/gdm/gdm/gdm
@@ -4,8 +4,8 @@
# Should-Start: console-screen acpid dbus hal network-manager
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
-# Default-Start: 2 3 4 5
-# Default-Stop: 0 1 6
+# Default-Start: 5
+# Default-Stop: 0 1 2 3 6
# Short-Description: GNOME Display Manager
# Description: Debian init script for the GNOME Display Manager
### END INIT INFO
diff --git a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
index b2ae9ac073..fcd51ff3aa 100644
--- a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
+++ b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
@@ -88,7 +88,7 @@ RCONFLICTS_${PN} += "${PN}-systemd"
SYSTEMD_SERVICE_${PN} = "gdm.service"
INITSCRIPT_NAME = "gdm"
-INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ."
+INITSCRIPT_PARAMS = "start 99 5 . stop 20 0 1 2 3 6 ."
USERADD_PACKAGES = "${PN}"
USERADD_PARAM_${PN} = "--system --no-create-home --home ${localstatedir}/lib/gdm --user-group gdm"