Skip to contentSkip to conversation

opensaf: install opensafd.service

PATCH New Robert Yang 1 participant 2 messages Feb 13, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 opensaf: install opensafd.service

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

---
 .../recipes-daemons/opensaf/opensaf_4.5.0.bb       |    3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb +3 -0
index 5b42def..5fe929c 100644
@@ -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
 }
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 2/2 opensaf: RDEPENDS on python and bash

python:
opensaf/usr/share/opensaf/samples/immsv/immom_python/immom.py

bash:
opensaf/usr/share/opensaf/immxml/verify.sh opensaf/usr/share/opensaf/immxml/immxml-modify-config opensaf/usr/share/opensaf/immxml/immxml-configure opensaf/usr/share/opensaf/immxml/immxml-clustersize opensaf/usr/share/opensaf/immxml/immxml-nodegen opensaf/usr/share/opensaf/samples/INSTALL opensaf/usr/share/opensaf/samples/smfsv/campaigns/smf-verify opensaf/usr/lib/opensaf/configure_tipc

---
 .../recipes-daemons/opensaf/opensaf_4.5.0.bb       |    2 ++
 1 file changed, 2 insertions(+)
meta-networking/recipes-daemons/opensaf/opensaf_4.5.0.bb +2 -0
index 5fe929c..6d31b1c 100644
@@ -33,6 +33,8 @@ SYSTEMD_AUTO_ENABLE = "disable"
 
 FILES_${PN} += "${localstatedir}/run"
 
+RDEPENDS_${PN} += "bash python"
+
 INSANE_SKIP_${PN} = "dev-so"
 
 do_install_append() {
Signature · 1 line
1.7.9.5