tcf-agent: Use kill instead of killproc to stop agent
authorIoana Grigoropol <ioanax.grigoropol@intel.com>
Mon, 8 Apr 2013 12:54:06 +0000 (15:54 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 8 Apr 2013 17:02:47 +0000 (18:02 +0100)
commit887470ed4abec4cced359e98f2420823e8891d0d
tree60cee1872e2f34964376f3ba1fd8c4c75056606f
parent6a08b9288bbb3ea0b45bec4464b5d0bdbbde6ead
tcf-agent: Use kill instead of killproc to stop agent

When shutting down a core-image-lsb-sdk image, there is a lot of time spend stopping tcf-agent,
which slows down the whole process. The reason for this slowdown is the fact that it tries in a
loop to kill tcf-agent service by using killproc with the path of the executable and killproc
does not seem to available in lsb images. This patch fixes the issue by using "kill" instead of
"killproc".

[Yocto #3928]

(From OE-Core rev: 251361eb78176a04e3da00e0f77b7f3ff459d571)

Signed-off-by: Ioana Grigoropol <ioanax.grigoropol@intel.com>
Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/tcf-agent/tcf-agent/fix_tcf-agent.init.patch
meta/recipes-devtools/tcf-agent/tcf-agent_git.bb