summaryrefslogtreecommitdiffstats
path: root/meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-02-13 17:25:35 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-04-12 18:49:55 +0200
commit313f0ae25925caead4f588695ac9c9bcf00b2755 (patch)
tree1c167bd3cecfa253e438fefd045db110e2fa4cad /meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend
parent0afa2a51d2720ed1d6c06aaef17bd90248ef650e (diff)
downloadmeta-openembedded-313f0ae25925caead4f588695ac9c9bcf00b2755.tar.gz
meta-systemd: Append ${PN} to SYSTEMD_SERVICE
When using systemd class from OE-Core we also need to install the units explicitly. systemd packages ending with -systemd are consumed and now provided by package proper. MJ: fix RPROVIDES_PN = PN-systemd in entrance MJ: add RPROVIDES for ntp*-systemd in ntp MJ: the same for wpa-supplicant Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend')
-rw-r--r--meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend9
1 files changed, 7 insertions, 2 deletions
diff --git a/meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend b/meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend
index d80cfff2e..2e63c69e8 100644
--- a/meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend
+++ b/meta-systemd/meta-oe/recipes-extended/at/at_3.1.13.bbappend
@@ -7,6 +7,11 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
7 7
8SRC_URI += "file://atd.service" 8SRC_URI += "file://atd.service"
9 9
10SYSTEMD_PACKAGES = "${PN}-systemd" 10SYSTEMD_PACKAGES = "${PN}"
11SYSTEMD_SERVICE = "atd.service" 11RPROVIDES_${PN} += "${PN}-systemd"
12SYSTEMD_SERVICE_${PN} = "atd.service"
13do_install_append() {
14 install -d ${D}${systemd_unitdir}/system
15 install -m 0644 ${WORKDIR}/atd.service ${D}${systemd_unitdir}/system
16}
12 17