gdm: replace 'WantedBy=graphical.target' by 'Alias=display-manager.service'

Found at lxdm. Error message was there
| systemd[1]: Cannot add dependency job for unit display-manager.service ...

Inspired by [1]

[1] https://bbs.archlinux.org/viewtopic.php?pid=1131267

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Andreas Müller 2012-08-07 23:04:25 +00:00 committed by Koen Kooi
parent d6408d8793
commit a78056c60e
2 changed files with 2 additions and 2 deletions

View File

@ -8,4 +8,4 @@ ExecStart=/usr/sbin/gdm -nodaemon
StandardOutput=syslog
[Install]
WantedBy=graphical.target
Alias=display-manager.service

View File

@ -1,7 +1,7 @@
# look for files in the layer first
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
PRINC := "${@int(PRINC) + 1}"
PRINC := "${@int(PRINC) + 2}"
inherit systemd