diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-08-25 20:37:44 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-26 11:29:45 +0100 |
commit | f541b7388cebaceee5867825d250c568b2b1db3c (patch) | |
tree | 5cd356d9597542988ff10fc5ef4ec597c5e42b44 /meta/recipes-graphics/x11-common/xserver-nodm-init | |
parent | 93ec1e347cbba47cb35137047ac2ef8875a1c5d1 (diff) | |
download | poky-f541b7388cebaceee5867825d250c568b2b1db3c.tar.gz |
xserver-nodm-init: improvements from meta-oe
Bring in some changes from the meta-oe version of this script in order
to bring them closer together. (Unfortunately it does not completely
supersede the recipes in meta-oe - there is still some unification to be
done between x11-common and xserver-common.)
* Add systemd support (with extensions for ROOTLESS_X)
* Remove sudo from RDEPENDS_${PN} since this hasn't been used by this
for a long time
* Rearrange recipe slightly to make the order logical
A couple of additional improvements at the same time:
* Use ROOT_HOME for root's home directory
* Set short description in SUMMARY instead of DESCRIPTION
(From OE-Core rev: d4f82500fb30e9e25b517e65c2bd72b3c2bad070)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/x11-common/xserver-nodm-init')
-rw-r--r-- | meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.conf | 1 | ||||
-rw-r--r-- | meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.service | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.conf b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.conf new file mode 100644 index 0000000000..3c0582a87e --- /dev/null +++ b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.conf | |||
@@ -0,0 +1 @@ | |||
HOME=/home/root | |||
diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.service b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.service new file mode 100644 index 0000000000..62d979f1d6 --- /dev/null +++ b/meta/recipes-graphics/x11-common/xserver-nodm-init/xserver-nodm.service | |||
@@ -0,0 +1,10 @@ | |||
1 | [Unit] | ||
2 | Description=Xserver startup without a display manager | ||
3 | |||
4 | [Service] | ||
5 | User=root | ||
6 | EnvironmentFile=/etc/default/xserver-nodm | ||
7 | ExecStart=/etc/X11/Xserver | ||
8 | |||
9 | [Install] | ||
10 | Alias=display-manager.service | ||