diff options
-rw-r--r-- | meta-networking/recipes-daemons/opensaf/opensaf_5.0.0.bb | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/meta-networking/recipes-daemons/opensaf/opensaf_5.0.0.bb b/meta-networking/recipes-daemons/opensaf/opensaf_5.0.0.bb index f6873781d0..da9c105207 100644 --- a/meta-networking/recipes-daemons/opensaf/opensaf_5.0.0.bb +++ b/meta-networking/recipes-daemons/opensaf/opensaf_5.0.0.bb | |||
@@ -55,9 +55,19 @@ do_install_append() { | |||
55 | install -m 0644 ${B}/contrib/plmc/config/*.service ${D}/${systemd_unitdir}/system | 55 | install -m 0644 ${B}/contrib/plmc/config/*.service ${D}/${systemd_unitdir}/system |
56 | } | 56 | } |
57 | 57 | ||
58 | FILES_${PN} += "${localstatedir}/run" | 58 | FILES_${PN} += "${localstatedir}/run ${systemd_unitdir}/system/*.service" |
59 | FILES_${PN}-staticdev += "${PKGLIBDIR}/*.a" | 59 | FILES_${PN}-staticdev += "${PKGLIBDIR}/*.a" |
60 | 60 | ||
61 | INSANE_SKIP_${PN} = "dev-so" | 61 | INSANE_SKIP_${PN} = "dev-so" |
62 | 62 | ||
63 | RDEPENDS_${PN} += "bash python" | 63 | RDEPENDS_${PN} += "bash python" |
64 | |||
65 | do_sysvinit_install() { | ||
66 | if [ ! -d "${D}${sysconfdir}/init.d" ]; then | ||
67 | install -d ${D}${sysconfdir}/init.d | ||
68 | install -m 0755 ${B}/osaf/services/infrastructure/nid/scripts/opensafd ${D}${sysconfdir}/init.d/ | ||
69 | fi | ||
70 | } | ||
71 | |||
72 | addtask sysvinit_install after do_install before do_package | ||
73 | |||