From 313f0ae25925caead4f588695ac9c9bcf00b2755 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 13 Feb 2013 17:25:35 +0000 Subject: 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 Signed-off-by: Martin Jansa --- .../oe-core/recipes-extended/lighttpd/lighttpd_1.4.32.bbappend | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'meta-systemd/oe-core/recipes-extended') diff --git a/meta-systemd/oe-core/recipes-extended/lighttpd/lighttpd_1.4.32.bbappend b/meta-systemd/oe-core/recipes-extended/lighttpd/lighttpd_1.4.32.bbappend index 0e08358b29..89079dcae1 100644 --- a/meta-systemd/oe-core/recipes-extended/lighttpd/lighttpd_1.4.32.bbappend +++ b/meta-systemd/oe-core/recipes-extended/lighttpd/lighttpd_1.4.32.bbappend @@ -7,4 +7,11 @@ inherit systemd SRC_URI += "file://lighttpd.service" SYSTEMD_PACKAGES = "${PN}" +RPROVIDES_${PN} += "${PN}-systemd" SYSTEMD_SERVICE_${PN} = "lighttpd.service" + +do_install_append() { + install -d ${D}${systemd_unitdir}/system + install -m 0644 ${WORKDIR}/lighttpd.service ${D}${systemd_unitdir}/system +} + -- cgit 1.2.3-korg