kata-deploy: fix binary location for agent-ctl

Moving agent-ctl into the root workspace moves the target
directory, so update this target to be in root, not src/tools

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman
2026-04-29 13:28:44 +01:00
parent 3466f888db
commit e3a00a2ec2

View File

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