diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-16 21:08:59 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-19 02:45:28 +0200 |
commit | 823d41b46a9d3cc223bd66e13b655558d9e6a361 (patch) | |
tree | f30dd5899fe05f1d4d228bc884f913003a34bf48 /meta-oe/recipes-graphics | |
parent | 7425fdd9a25b77fb5bf32cd4d0d8b83c121c1e7a (diff) | |
download | meta-openembedded-823d41b46a9d3cc223bd66e13b655558d9e6a361.tar.gz |
xserver-nodm-init: install .service and conf only with systemd in DISTRO_FEATURES
* Otavio reported unpackaged files without systemd enabled
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics')
-rw-r--r-- | meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb b/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb index aa85c8c97..d5e461a47 100644 --- a/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb +++ b/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb | |||
@@ -3,7 +3,7 @@ LICENSE = "GPLv2" | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
4 | SECTION = "x11" | 4 | SECTION = "x11" |
5 | 5 | ||
6 | PR = "r21" | 6 | PR = "r22" |
7 | 7 | ||
8 | SRC_URI = "file://xserver-nodm \ | 8 | SRC_URI = "file://xserver-nodm \ |
9 | file://gplv2-license.patch \ | 9 | file://gplv2-license.patch \ |
@@ -23,9 +23,12 @@ do_install() { | |||
23 | install xserver-nodm ${D}${sysconfdir}/init.d | 23 | install xserver-nodm ${D}${sysconfdir}/init.d |
24 | 24 | ||
25 | install -d ${D}${sysconfdir}/default | 25 | install -d ${D}${sysconfdir}/default |
26 | install -d ${D}${systemd_unitdir}/system | 26 | |
27 | install xserver-nodm.conf ${D}${sysconfdir}/default/xserver-nodm | 27 | if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
28 | install -m 0644 ${WORKDIR}/xserver-nodm.service ${D}${systemd_unitdir}/system | 28 | install -d ${D}${systemd_unitdir}/system |
29 | install xserver-nodm.conf ${D}${sysconfdir}/default/xserver-nodm | ||
30 | install -m 0644 ${WORKDIR}/xserver-nodm.service ${D}${systemd_unitdir}/system | ||
31 | fi | ||
29 | } | 32 | } |
30 | 33 | ||
31 | RDEPENDS_${PN} = "xserver-common (>= 1.30) xinit" | 34 | RDEPENDS_${PN} = "xserver-common (>= 1.30) xinit" |