Patchwork [3/5] xserver-nodm-init: replace 'WantedBy=graphical.target' by 'Alias=display-manager.service'

login
register
mail settings
Submitter Martin Jansa
Date Nov. 27, 2012, 4:51 p.m.
Message ID <62a71128176f2fb43cd33fc58e0818f92b7b15b9.1354034673.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/39707/
State Accepted
Commit a539a4d25f839efef52abb3b28d2a3bf6456cd4e
Headers show

Comments

Martin Jansa - Nov. 27, 2012, 4:51 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../xserver-nodm-init/xserver-nodm-init/xserver-nodm.service            | 2 +-
 .../recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bbappend   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init/xserver-nodm.service b/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init/xserver-nodm.service
index c15a772..53e61d7 100644
--- a/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init/xserver-nodm.service
+++ b/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init/xserver-nodm.service
@@ -6,4 +6,4 @@  EnvironmentFile=/etc/default/xserver-nodm
 ExecStart=/usr/bin/xinit /etc/X11/Xsession -- /etc/X11/Xserver
 
 [Install]
-WantedBy=multi-user.target
+Alias=display-manager.service
diff --git a/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bbappend b/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bbappend
index 5538805..b6b77c9 100644
--- a/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bbappend
+++ b/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bbappend
@@ -1,6 +1,6 @@ 
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-PRINC := "${@int(PRINC) + 1}"
+PRINC := "${@int(PRINC) + 2}"
 
 inherit systemd