mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-25 22:49:59 +00:00
The shared lib.sh exported CROSS_BUILD/TARGET_ARCH/BUILDX/PLATFORM so the per-component static-build scripts could switch to `-cross-build` builder images, run `docker buildx build --platform=...` under QEMU emulation and, for shim-v2, swap in the messense/rust-musl-cross image with a matching cross CC. These cross paths are not exercised on our side (all builds run on native-arch runners), so remove them: builder images are now built with a plain `docker build`, and shim-v2 builds runtime-rs natively without the musl-cross image or CC override. Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com> Assisted-by: Cursor <cursoragent@cursor.com>
Packaging scripts
This directory contains useful packaging scripts.
configure-hypervisor.sh
This script generates the official set of QEMU-based hypervisor build configuration options. All repositories that need to build a hypervisor from source MUST use this script to ensure the hypervisor is built in a known way since using a different set of options can impact many areas including performance, memory footprint and security.
Example usage:
$ configure-hypervisor.sh qemu