Skip to content

Instantly share code, notes, and snippets.

@marvkis
Last active April 11, 2024 20:20
Show Gist options
  • Save marvkis/04db1cb0e29fb97a387a7c106b8eea53 to your computer and use it in GitHub Desktop.
Save marvkis/04db1cb0e29fb97a387a7c106b8eea53 to your computer and use it in GitHub Desktop.
Build kubevirt-passt-binding plugin for ARM64/aarch64
  • Create a lxc/icinga ubuntu container, install git & docker
  • Compile kubvirt-passt-binding
git clone https://github.com/kubevirt/kubevirt.git
cd kubevirt
make
# make fails
hack/dockerized ". ./hack/common.sh ; bazel run --config=aarch64 :build-cni-passt-binding -- \${CMD_OUT_DIR}/cniplugins/kubevirt-passt-binding"
# binary is now in _out/cmd/cniplugins/kubevirt-passt-binding

The resulting binary has to be installed into /opt/cni/bin/kubevirt-passt-binding.

My compiled binary (on a rock-5b). Only for testing purposes - this is not a validated build: -> kubevirt-passt-binding.xz

This file has been truncated, but you can view the full file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment