]> code.ossystems Code Review - openembedded-core.git/commit
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 16:59:45 +0000 (17:59 +0100)
commit251361eb78176a04e3da00e0f77b7f3ff459d571
treeb022af3ef4acb7ea3b68c9d5756b0ea4daafd387
parent94e76a98b6cdafe9547630be159401ac1d8c5edd
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]

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