mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-22 01:43:04 +00:00
Merge pull request #4466 from stevenhorsman/rootfs-aa-build
osbuilder: Fix attestation-agent build
This commit is contained in:
commit
dc92e134aa
@ -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`.
|
configured and created using the VM as a single node cluster and with `AA_KBC` set to `offline_fs_kbc`.
|
||||||
```bash
|
```bash
|
||||||
$ export KUBERNETES="yes"
|
$ export KUBERNETES="yes"
|
||||||
|
$ export SKOPEO="yes"
|
||||||
$ export AA_KBC=offline_fs_kbc
|
$ export AA_KBC=offline_fs_kbc
|
||||||
$ ~/ccv0.sh build_and_install_all
|
$ ~/ccv0.sh build_and_install_all
|
||||||
```
|
```
|
||||||
|
@ -668,7 +668,7 @@ EOF
|
|||||||
attestation_agent_branch="$(get_package_version_from_kata_yaml externals.attestation-agent.branch)"
|
attestation_agent_branch="$(get_package_version_from_kata_yaml externals.attestation-agent.branch)"
|
||||||
info "Install attestation-agent with KBC ${AA_KBC}"
|
info "Install attestation-agent with KBC ${AA_KBC}"
|
||||||
git clone "${attestation_agent_url}" --branch "${attestation_agent_branch}"
|
git clone "${attestation_agent_url}" --branch "${attestation_agent_branch}"
|
||||||
pushd attestation-agent
|
pushd attestation-agent/app
|
||||||
source "${HOME}/.cargo/env"
|
source "${HOME}/.cargo/env"
|
||||||
target="${ARCH}-unknown-linux-${LIBC}"
|
target="${ARCH}-unknown-linux-${LIBC}"
|
||||||
if [ "${AA_KBC}" == "eaa_kbc" ] && [ "${ARCH}" == "x86_64" ]; then
|
if [ "${AA_KBC}" == "eaa_kbc" ] && [ "${ARCH}" == "x86_64" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user