diff options
Diffstat (limited to 'meta-networking/recipes-daemons/vblade/vblade_25.bb')
| -rw-r--r-- | meta-networking/recipes-daemons/vblade/vblade_25.bb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-networking/recipes-daemons/vblade/vblade_25.bb b/meta-networking/recipes-daemons/vblade/vblade_25.bb index 7c37fc1676..7f20e927c6 100644 --- a/meta-networking/recipes-daemons/vblade/vblade_25.bb +++ b/meta-networking/recipes-daemons/vblade/vblade_25.bb | |||
| @@ -27,22 +27,22 @@ do_install() { | |||
| 27 | install -D -m 0755 ${S}/vbladed ${D}/${sbindir}/vbladed | 27 | install -D -m 0755 ${S}/vbladed ${D}/${sbindir}/vbladed |
| 28 | install -D -m 0644 ${S}/vblade.8 ${D}/${mandir}/man8/vblade.8 | 28 | install -D -m 0644 ${S}/vblade.8 ${D}/${mandir}/man8/vblade.8 |
| 29 | 29 | ||
| 30 | install -D -m 0644 ${WORKDIR}/${BPN}.conf ${D}/${sysconfdir}/${BPN}.conf | 30 | install -D -m 0644 ${UNPACKDIR}/${BPN}.conf ${D}/${sysconfdir}/${BPN}.conf |
| 31 | install -D -m 0755 ${WORKDIR}/${BPN}.init ${D}/${sysconfdir}/init.d/${BPN} | 31 | install -D -m 0755 ${UNPACKDIR}/${BPN}.init ${D}/${sysconfdir}/init.d/${BPN} |
| 32 | 32 | ||
| 33 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then | 33 | if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then |
| 34 | install -d ${D}/${sysconfdir}/default/volatiles | 34 | install -d ${D}/${sysconfdir}/default/volatiles |
| 35 | install -m 0755 ${WORKDIR}/volatiles.99_vblade ${D}/${sysconfdir}/default/volatiles/99_vblade | 35 | install -m 0755 ${UNPACKDIR}/volatiles.99_vblade ${D}/${sysconfdir}/default/volatiles/99_vblade |
| 36 | fi | 36 | fi |
| 37 | 37 | ||
| 38 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then | 38 | if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then |
| 39 | install -d ${D}/${bindir} | 39 | install -d ${D}/${bindir} |
| 40 | install -m 0755 ${WORKDIR}/${BPN}.init ${D}/${bindir}/ | 40 | install -m 0755 ${UNPACKDIR}/${BPN}.init ${D}/${bindir}/ |
| 41 | install -d ${D}${sysconfdir}/tmpfiles.d | 41 | install -d ${D}${sysconfdir}/tmpfiles.d |
| 42 | echo "d /var/run/${BPN} 0755 root root -" > ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf | 42 | echo "d /var/run/${BPN} 0755 root root -" > ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf |
| 43 | 43 | ||
| 44 | install -d ${D}${systemd_system_unitdir} | 44 | install -d ${D}${systemd_system_unitdir} |
| 45 | install -m 0644 ${WORKDIR}/vblade.service ${D}${systemd_system_unitdir} | 45 | install -m 0644 ${UNPACKDIR}/vblade.service ${D}${systemd_system_unitdir} |
| 46 | sed -e 's,@BINDIR@,${bindir},g' -i ${D}${systemd_system_unitdir}/*.service | 46 | sed -e 's,@BINDIR@,${bindir},g' -i ${D}${systemd_system_unitdir}/*.service |
| 47 | fi | 47 | fi |
| 48 | 48 | ||
