[oe-commits] Robert Yang : opensaf: install opensafd.service
git at git.openembedded.org
git at git.openembedded.org
Wed Apr 29 13:32:01 UTC 2015
Module: meta-openembedded.git
Branch: master-next
Commit: f6e609a5ff4071089b8863f071a987b6bef29011
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=f6e609a5ff4071089b8863f071a987b6bef29011
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