mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-22 17:59:31 +00:00
rootfs: Update attestation-agent install logic
- Update attestation-agent install now the create is in the guest-components repo Fixes: #7152 Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
bef48f4a9e
commit
1fc8f7040f
@ -671,9 +671,9 @@ EOF
|
||||
attestation_agent_version="$(get_package_version_from_kata_yaml externals.attestation-agent.version)"
|
||||
info "Install attestation-agent with KBC ${AA_KBC}"
|
||||
#git clone "${attestation_agent_url}" --branch "${attestation_agent_tag}" --single-branch
|
||||
git clone --depth=1 "${attestation_agent_url}" attestation-agent
|
||||
git clone --depth=1 "${attestation_agent_url}" guest-components
|
||||
|
||||
pushd attestation-agent
|
||||
pushd guest-components/attestation-agent
|
||||
git fetch --depth=1 origin "${attestation_agent_version}"
|
||||
git checkout FETCH_HEAD
|
||||
( [ "${AA_KBC}" == "eaa_kbc" ] || [ "${AA_KBC}" == "cc_kbc_tdx" ] ) && [ "${ARCH}" == "x86_64" ] && LIBC="gnu"
|
||||
|
Loading…
Reference in New Issue
Block a user