diff options
-rw-r--r-- | recipes-ti/multiprocmgr/multiprocmgr_git.bb | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/recipes-ti/multiprocmgr/multiprocmgr_git.bb b/recipes-ti/multiprocmgr/multiprocmgr_git.bb index f37b97e3..6143341d 100644 --- a/recipes-ti/multiprocmgr/multiprocmgr_git.bb +++ b/recipes-ti/multiprocmgr/multiprocmgr_git.bb | |||
@@ -28,15 +28,11 @@ do_install() { | |||
28 | install -c -m 755 ${S}/bin/mpmsrv ${D}${bindir}/mpmsrv | 28 | install -c -m 755 ${S}/bin/mpmsrv ${D}${bindir}/mpmsrv |
29 | install -c -m 755 ${S}/bin/mpmcl ${D}${bindir}/mpmcl | 29 | install -c -m 755 ${S}/bin/mpmcl ${D}${bindir}/mpmcl |
30 | 30 | ||
31 | systemd_enabled=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '1', '0', d)} | 31 | install -d ${D}${systemd_system_unitdir} |
32 | if [ ${systemd_enabled} -eq 1 ] | 32 | install -m 0644 ${WORKDIR}/mpmsrv-daemon.service ${D}${systemd_system_unitdir} |
33 | then | 33 | install -d ${D}${sysconfdir}/init.d/ |
34 | install -d ${D}${systemd_system_unitdir} | 34 | install -c -m 755 ${S}/scripts/mpmsrv-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} |
35 | install -m 0644 ${WORKDIR}/mpmsrv-daemon.service ${D}${systemd_system_unitdir} | 35 | |
36 | else | ||
37 | install -d ${D}${sysconfdir}/init.d/ | ||
38 | install -c -m 755 ${S}/scripts/mpmsrv-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} | ||
39 | fi | ||
40 | install -d ${D}${sysconfdir}/mpm/ | 36 | install -d ${D}${sysconfdir}/mpm/ |
41 | install -c -m 755 ${S}/scripts/crash_callback.sh ${D}${sysconfdir}/mpm/crash_callback.sh | 37 | install -c -m 755 ${S}/scripts/crash_callback.sh ${D}${sysconfdir}/mpm/crash_callback.sh |
42 | 38 | ||