[oe-commits] Robert Yang : opensaf: install opensafd.service

git at git.openembedded.org git at git.openembedded.org
Fri May 1 14:54:09 UTC 2015


Module: meta-openembedded.git
Branch: master-next
Commit: 81db796aa7476c21c4a568e759c5d76329369af5
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=81db796aa7476c21c4a568e759c5d76329369af5

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Tue Apr 28 14:04:58 2015 +0800

opensaf: install opensafd.service

Fixed when systemd:
ERROR: Function failed: SYSTEMD_SERVICE_opensaf value opensafd.service does not exist

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb b/meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb
index 5b42def..5fe929c 100644
--- a/meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb
+++ b/meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb
@@ -39,4 +39,7 @@ do_install_append() {
     rm -fr "${D}${localstatedir}/lock"
     rm -fr "${D}${localstatedir}/run"
     rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
+    install -d ${D}${systemd_unitdir}/system
+    install -m 0644 ${B}/osaf/services/infrastructure/nid/config/opensafd.service \
+        ${D}${systemd_unitdir}/system
 }



More information about the Openembedded-commits mailing list