diff options
Diffstat (limited to 'recipes-ti/ipc')
-rw-r--r-- | recipes-ti/ipc/ti-ipc_git.bb | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/recipes-ti/ipc/ti-ipc_git.bb b/recipes-ti/ipc/ti-ipc_git.bb index 8b3ac91d..2ebd03fd 100644 --- a/recipes-ti/ipc/ti-ipc_git.bb +++ b/recipes-ti/ipc/ti-ipc_git.bb | |||
@@ -48,15 +48,10 @@ do_install_append() { | |||
48 | sed -i -e "s/__LAD_DAEMON__/${DAEMON}/" ${WORKDIR}/tiipclad-daemon.sh | 48 | sed -i -e "s/__LAD_DAEMON__/${DAEMON}/" ${WORKDIR}/tiipclad-daemon.sh |
49 | sed -i -e "s/__LAD_DAEMON__/${DAEMON}/" ${WORKDIR}/tiipclad-daemon.service | 49 | sed -i -e "s/__LAD_DAEMON__/${DAEMON}/" ${WORKDIR}/tiipclad-daemon.service |
50 | 50 | ||
51 | systemd_enabled=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '1', '0', d)} | 51 | install -d ${D}${systemd_system_unitdir} |
52 | if [ ${systemd_enabled} -eq 1 ] | 52 | install -m 0644 ${WORKDIR}/tiipclad-daemon.service ${D}${systemd_system_unitdir} |
53 | then | 53 | install -d ${D}${sysconfdir}/init.d/ |
54 | install -d ${D}${systemd_system_unitdir} | 54 | install -c -m 755 ${WORKDIR}/tiipclad-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} |
55 | install -m 0644 ${WORKDIR}/tiipclad-daemon.service ${D}${systemd_system_unitdir} | ||
56 | else | ||
57 | install -d ${D}${sysconfdir}/init.d/ | ||
58 | install -c -m 755 ${S}/scripts/tiipclad-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} | ||
59 | fi | ||
60 | } | 55 | } |
61 | 56 | ||
62 | do_install_append_dra7xx() { | 57 | do_install_append_dra7xx() { |