mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-01-20 14:54:21 +01:00
rootfs: remove RUST_SRC_PATH
If user wants to use customized rust-agent, they could use AGENT_SOURCE_BIN to pass the static binary. The rust-agent is always statically linked with musl. Fixes: #411 Signed-off-by: Penny Zheng <penny.zheng@arm.com>
This commit is contained in:
@@ -199,7 +199,7 @@ create_summary_file()
|
||||
if [ "${RUST_AGENT}" == "no" ]; then
|
||||
agent_version=$("$agent" --version|awk '{print $NF}')
|
||||
else
|
||||
local -r agentdir="${RUST_SRC_PATH}/$(basename ${RUST_AGENT_PKG} .git)/src/agent"
|
||||
local -r agentdir="${GOPATH}/src/${RUST_AGENT_PKG}/src/agent"
|
||||
agent_version=$(cat ${agentdir}/VERSION)
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user