Merge pull request #4466 from stevenhorsman/rootfs-aa-build

osbuilder: Fix attestation-agent build
This commit is contained in:
Steve Horsman 2022-06-16 17:23:05 +01:00 committed by GitHub
commit dc92e134aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -407,6 +407,7 @@ steps:
configured and created using the VM as a single node cluster and with `AA_KBC` set to `offline_fs_kbc`.
```bash
$ export KUBERNETES="yes"
$ export SKOPEO="yes"
$ export AA_KBC=offline_fs_kbc
$ ~/ccv0.sh build_and_install_all
```

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