osbuilder: Fix attestation-agent build

Fix of the attestation-agent build and install issue in rootfs.sh

Fixes: #4465
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman
2022-06-16 14:24:09 +01:00
parent 0b065444fc
commit 9c73babdb2

View File

@@ -668,7 +668,7 @@ EOF
attestation_agent_branch="$(get_package_version_from_kata_yaml externals.attestation-agent.branch)"
info "Install attestation-agent with KBC ${AA_KBC}"
git clone "${attestation_agent_url}" --branch "${attestation_agent_branch}"
pushd attestation-agent
pushd attestation-agent/app
source "${HOME}/.cargo/env"
target="${ARCH}-unknown-linux-${LIBC}"
if [ "${AA_KBC}" == "eaa_kbc" ] && [ "${ARCH}" == "x86_64" ]; then