aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Proca <florentin.proca@windriver.com>2012-05-08 19:25:03 +0300
committerFlorin Sarbu <florin.sarbu@windriver.com>2012-05-16 15:46:24 +0300
commit72d691b158cf54c55921383b855ca284b5568cc5 (patch)
treeed0cffb5a43eebd7de0af81a464272fffa183f64
parenta784559e2ea78a233f15fef8ac521ba6fd1a03c5 (diff)
downloadmeta-ivi-72d691b158cf54c55921383b855ca284b5568cc5.tar.gz
meta-ivi-72d691b158cf54c55921383b855ca284b5568cc5.tar.bz2
meta-ivi-72d691b158cf54c55921383b855ca284b5568cc5.zip
DLT-daemon: enable installation of services for systemd
Systemd service files for DLT (daemon and syslog) were missing. Now, the services are available for systemctl calls. Signed-off-by: Sebastian Proca <Florentin.Proca@windriver.com>
-rw-r--r--recipes-extended/DLT-daemon/DLT-daemon_2.5.2.bb13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-extended/DLT-daemon/DLT-daemon_2.5.2.bb b/recipes-extended/DLT-daemon/DLT-daemon_2.5.2.bb
index 87fd786..837179e 100644
--- a/recipes-extended/DLT-daemon/DLT-daemon_2.5.2.bb
+++ b/recipes-extended/DLT-daemon/DLT-daemon_2.5.2.bb
@@ -26,3 +26,16 @@ S = "${WORKDIR}/git"
inherit autotools gettext cmake
FILES_${PN}-doc += "/usr/share/*"
+FILES_${PN}-systemd += "/lib/systemd/system/"
+
+PACKAGES =+ "${PN}-systemd"
+
+EXTRA_OECMAKE = "-DWITH_SYSTEMD=ON"
+
+do_install_append() {
+ mkdir -p ${D}/lib/systemd/system/
+ install -m 0644 systemd/dlt.service ${D}/lib/systemd/system/
+ install -m 0644 systemd/dlt-syslog.service ${D}/lib/systemd/system/
+}
+
+