kata-deploy: fix binary location for trace-forwarder

Moving the trace-forwarder into the root workspace moves the target
directory, so update this target.

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman
2026-04-29 13:27:09 +01:00
parent 7664ebda7e
commit 9cae783f14

View File

@@ -1285,6 +1285,7 @@ install_tools_helper() {
local tool_build_dir="src/tools/${tool}"
[[ "${tool}" = "genpolicy" ]] && tool_build_dir=target
[[ "${tool}" = "trace-forwarder" ]] && tool_build_dir=target
binary=$(find "${repo_root_dir}/${tool_build_dir}" -type f -name "${tool_binary}")
binary_count=$(echo "${binary}" | grep -c '^' || echo "0")