diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-13 14:32:42 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-15 16:22:04 +0200 |
commit | 05c8eb4393f77314246b41b0465305f95e979df0 (patch) | |
tree | 7ffc7ce20494e49bcd1c32d6cbb5feb4bf202d78 | |
parent | e965f6efc0942b08f5ab39a623833ebe8f39115e (diff) | |
download | meta-openembedded-05c8eb4393f77314246b41b0465305f95e979df0.tar.gz |
xserver-nodm-init: move systemd support from meta-systemd back to meta-oe
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init-2.0/xserver-nodm.conf (renamed from meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init/xserver-nodm.conf) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init-2.0/xserver-nodm.service (renamed from meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init/xserver-nodm.service) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bb | 18 | ||||
-rw-r--r-- | meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bbappend | 25 |
4 files changed, 16 insertions, 27 deletions
diff --git a/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init/xserver-nodm.conf b/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init-2.0/xserver-nodm.conf index 3c0582a87..3c0582a87 100644 --- a/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init/xserver-nodm.conf +++ b/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init-2.0/xserver-nodm.conf | |||
diff --git a/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init/xserver-nodm.service b/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init-2.0/xserver-nodm.service index 53e61d765..53e61d765 100644 --- a/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init/xserver-nodm.service +++ b/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init-2.0/xserver-nodm.service | |||
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 544ae7f8c..bbed445fe 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,14 +3,16 @@ 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 = "r17" | 6 | PR = "r21" |
7 | 7 | ||
8 | SRC_URI = "file://xserver-nodm \ | 8 | SRC_URI = "file://xserver-nodm \ |
9 | file://gplv2-license.patch \ | 9 | file://gplv2-license.patch \ |
10 | file://xserver-nodm.service \ | ||
11 | file://xserver-nodm.conf \ | ||
10 | " | 12 | " |
11 | S = "${WORKDIR}" | 13 | S = "${WORKDIR}" |
12 | 14 | ||
13 | inherit allarch update-rc.d | 15 | inherit allarch update-rc.d systemd |
14 | 16 | ||
15 | INITSCRIPT_NAME = "xserver-nodm" | 17 | INITSCRIPT_NAME = "xserver-nodm" |
16 | INITSCRIPT_PARAMS = "start 01 5 2 . stop 01 0 1 6 ." | 18 | INITSCRIPT_PARAMS = "start 01 5 2 . stop 01 0 1 6 ." |
@@ -19,6 +21,18 @@ INITSCRIPT_PARAMS_shr = "start 90 5 2 . stop 90 0 1 6 ." | |||
19 | do_install() { | 21 | do_install() { |
20 | install -d ${D}${sysconfdir}/init.d | 22 | install -d ${D}${sysconfdir}/init.d |
21 | install xserver-nodm ${D}${sysconfdir}/init.d | 23 | install xserver-nodm ${D}${sysconfdir}/init.d |
24 | |||
25 | install -d ${D}${sysconfdir}/default | ||
26 | install -d ${D}${systemd_unitdir}/system | ||
27 | install xserver-nodm.conf ${D}${sysconfdir}/default/xserver-nodm | ||
28 | install -m 0644 ${WORKDIR}/xserver-nodm.service ${D}${systemd_unitdir}/system | ||
22 | } | 29 | } |
23 | 30 | ||
24 | RDEPENDS_${PN} = "xserver-common (>= 1.30) xinit" | 31 | RDEPENDS_${PN} = "xserver-common (>= 1.30) xinit" |
32 | |||
33 | RPROVIDES_${PN} += "${PN}-systemd" | ||
34 | RREPLACES_${PN} += "${PN}-systemd" | ||
35 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
36 | SYSTEMD_SERVICE_${PN} = "xserver-nodm.service" | ||
37 | |||
38 | FILES_${PN} += "${sysconfdir}/default/xserver-nodm" | ||
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 deleted file mode 100644 index cae5a3c15..000000000 --- a/meta-systemd/meta-oe/recipes-graphics/xserver-nodm-init/xserver-nodm-init_2.0.bbappend +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | PRINC := "${@int(PRINC) + 3}" | ||
4 | |||
5 | inherit systemd | ||
6 | |||
7 | SRC_URI += "file://xserver-nodm.service \ | ||
8 | file://xserver-nodm.conf \ | ||
9 | " | ||
10 | |||
11 | do_install_append() { | ||
12 | install -d ${D}${sysconfdir}/default | ||
13 | install -d ${D}${systemd_unitdir}/system | ||
14 | install xserver-nodm.conf ${D}${sysconfdir}/default/xserver-nodm | ||
15 | install -m 0644 ${WORKDIR}/xserver-nodm.service ${D}${systemd_unitdir}/system | ||
16 | } | ||
17 | |||
18 | RPROVIDES_${PN} += "${PN}-systemd" | ||
19 | RREPLACES_${PN} += "${PN}-systemd" | ||
20 | RCONFLICTS_${PN} += "${PN}-systemd" | ||
21 | SYSTEMD_SERVICE_${PN} = "xserver-nodm.service" | ||
22 | |||
23 | FILES_${PN} += "${sysconfdir}/default/xserver-nodm" | ||
24 | |||
25 | RDEPENDS_${PN} += "xserver-common (>= 1.30) xinit" | ||