mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
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> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
0753418989
commit
496a548938
@@ -4,8 +4,8 @@
|
|||||||
# Should-Start: console-screen acpid dbus hal network-manager
|
# Should-Start: console-screen acpid dbus hal network-manager
|
||||||
# Required-Start: $local_fs $remote_fs
|
# Required-Start: $local_fs $remote_fs
|
||||||
# Required-Stop: $local_fs $remote_fs
|
# Required-Stop: $local_fs $remote_fs
|
||||||
# Default-Start: 2 3 4 5
|
# Default-Start: 5
|
||||||
# Default-Stop: 0 1 6
|
# Default-Stop: 0 1 2 3 6
|
||||||
# Short-Description: GNOME Display Manager
|
# Short-Description: GNOME Display Manager
|
||||||
# Description: Debian init script for the GNOME Display Manager
|
# Description: Debian init script for the GNOME Display Manager
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ RCONFLICTS_${PN} += "${PN}-systemd"
|
|||||||
SYSTEMD_SERVICE_${PN} = "gdm.service"
|
SYSTEMD_SERVICE_${PN} = "gdm.service"
|
||||||
|
|
||||||
INITSCRIPT_NAME = "gdm"
|
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_PACKAGES = "${PN}"
|
||||||
USERADD_PARAM_${PN} = "--system --no-create-home --home ${localstatedir}/lib/gdm --user-group gdm"
|
USERADD_PARAM_${PN} = "--system --no-create-home --home ${localstatedir}/lib/gdm --user-group gdm"
|
||||||
|
|||||||
Reference in New Issue
Block a user