diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-04-28 14:04:58 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2015-05-08 11:06:47 -0400 |
commit | 39154cb60d075d6581522414c71ea379be234ff9 (patch) | |
tree | df21f9597436bc8e622286fd919896a68daf6c38 /meta-networking | |
parent | 05da3468b8df55cb0757e8191e42b461a4f706b7 (diff) | |
download | meta-openembedded-contrib-39154cb60d075d6581522414c71ea379be234ff9.tar.gz |
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@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb | 3 |
1 files changed, 3 insertions, 0 deletions
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 5b42defb38..5fe929c2ba 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 } |