Skip to content

Commit

Permalink
arm64: agent_policy build always pulls amd64
Browse files Browse the repository at this point in the history
The versions.yaml has only a default amd64 binary configured extend the versions.yaml for aarch64 as well.

Fixes: #8373

Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
  • Loading branch information
zvonkok committed Nov 16, 2023
1 parent d395ae8 commit f9ea997
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions tools/osbuilder/rootfs-builder/rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,8 @@ EOF
# this binary.
#
opa_bin_url="$(get_package_version_from_kata_yaml externals.open-policy-agent.meta.binary)"
opa_bin_url=$(eval echo "${opa_bin_url}")

info "Downloading OPA binary from ${opa_bin_url}"
curl --fail -L "${opa_bin_url}" -o opa || die "Failed to download OPA"

Expand Down
2 changes: 1 addition & 1 deletion versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ externals:
# this binary.
#
# yamllint disable-line rule:line-length
binary: "https://github.com/open-policy-agent/opa/releases/download/v0.55.0/opa_linux_amd64_static"
binary: "https://github.com/open-policy-agent/opa/releases/download/v0.55.0/opa_linux_${TARGET_ARCH}_static"

ovmf:
description: "Firmware, implementation of UEFI for virtual machines."
Expand Down

0 comments on commit f9ea997

Please sign in to comment.