[oe-commits] Robert Yang : opensaf: install opensafd.service
git at git.openembedded.org
git at git.openembedded.org
Fri May 8 16:28:00 UTC 2015
Module: meta-openembedded.git
Branch: master
Commit: 39154cb60d075d6581522414c71ea379be234ff9
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=39154cb60d075d6581522414c71ea379be234ff9
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>
Signed-off-by: Joe MacDonald <joe_macdonald at mentor.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