From 1fc8f7040fc44ef90a63a0dcb1beb5c5cec7fbf2 Mon Sep 17 00:00:00 2001 From: stevenhorsman Date: Tue, 4 Jul 2023 16:55:54 +0100 Subject: [PATCH] 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 --- tools/osbuilder/rootfs-builder/rootfs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/osbuilder/rootfs-builder/rootfs.sh b/tools/osbuilder/rootfs-builder/rootfs.sh index 82af8ec664..2573b190b5 100755 --- a/tools/osbuilder/rootfs-builder/rootfs.sh +++ b/tools/osbuilder/rootfs-builder/rootfs.sh @@ -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"