aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
diff options
context:
space:
mode:
authorLi Wang <li.wang@windriver.com>2013-11-27 15:55:44 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-27 11:59:51 +0000
commit5b3c4863665eabf7750ff1bdd975ea1f4772006b (patch)
treec6db7a2926e717b4ed24734dedb88f954d7d4eb9 /meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
parent2988cef2f0ad857b5bbf6a0189ffb0fb88795f8c (diff)
downloadopenembedded-core-contrib-5b3c4863665eabf7750ff1bdd975ea1f4772006b.tar.gz
tcf-agent: add init.d/tcf-agent status command
Signed-off-by: Li Wang <li.wang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/tcf-agent/tcf-agent_git.bb')
-rw-r--r--meta/recipes-devtools/tcf-agent/tcf-agent_git.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
index 09b153ed57..e7779cd210 100644
--- a/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
+++ b/meta/recipes-devtools/tcf-agent/tcf-agent_git.bb
@@ -11,7 +11,7 @@ PR = "r2"
SRC_URI = "git://git.eclipse.org/gitroot/tcf/org.eclipse.tcf.agent.git \
file://fix_ranlib.patch \
- file://fix_tcf-agent.init.patch \
+ file://tcf-agent.init \
"
DEPENDS = "util-linux openssl"
@@ -42,5 +42,7 @@ do_compile() {
do_install() {
oe_runmake install INSTALLROOT=${D}
+ install -d ${D}${sysconfdir}/init.d/
+ install -m 0755 ${WORKDIR}/tcf-agent.init ${D}${sysconfdir}/init.d/tcf-agent
}