diff options
author | Andreas Müller <schnitzeltony@googlemail.com> | 2012-09-17 08:15:47 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-09-17 10:42:35 +0200 |
commit | 4d234731b2770f8983f16ba22177ed022fe8eea9 (patch) | |
tree | 70824fe72de69e19f72659529c34ae09046a8722 /meta-systemd | |
parent | 72335a05f2b9a47aceec9e6f3881cd7209224343 (diff) | |
download | meta-openembedded-4d234731b2770f8983f16ba22177ed022fe8eea9.tar.gz |
lxdm: initial add 1.22_git
* use git version since 1.21 missing escape button and bugfixes
* no init-scripts (I am working with systemd -> testing causes huge efforts ->
subsequent patches)
* run tested on overo/xfce
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-systemd')
-rw-r--r-- | meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm/lxdm.service.in | 10 | ||||
-rw-r--r-- | meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm_git.bbappend | 16 |
2 files changed, 26 insertions, 0 deletions
diff --git a/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm/lxdm.service.in b/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm/lxdm.service.in new file mode 100644 index 000000000..0bc6774f3 --- /dev/null +++ b/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm/lxdm.service.in | |||
@@ -0,0 +1,10 @@ | |||
1 | [Unit] | ||
2 | Description=LXDE Display Manager | ||
3 | After=systemd-user-sessions.service | ||
4 | |||
5 | [Service] | ||
6 | ExecStart=%sbindir%/lxdm | ||
7 | StandardOutput=syslog | ||
8 | |||
9 | [Install] | ||
10 | Alias=display-manager.service | ||
diff --git a/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm_git.bbappend b/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm_git.bbappend new file mode 100644 index 000000000..e4cf44d3f --- /dev/null +++ b/meta-systemd/meta-oe/recipes-graphics/lxdm/lxdm_git.bbappend | |||
@@ -0,0 +1,16 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | PRINC := "${@int(PRINC) + 1}" | ||
3 | |||
4 | inherit systemd | ||
5 | |||
6 | SRC_URI += "file://lxdm.service.in" | ||
7 | |||
8 | do_install_append() { | ||
9 | install -d ${D}${systemd_unitdir}/system | ||
10 | sed -e 's,%sbindir%,${sbindir},g' \ | ||
11 | < ${WORKDIR}/lxdm.service.in \ | ||
12 | > ${D}${systemd_unitdir}/system/lxdm.service | ||
13 | } | ||
14 | |||
15 | SYSTEMD_PACKAGES = "${PN}-systemd" | ||
16 | SYSTEMD_SERVICE = "lxdm.service" | ||