mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-25 14:18:54 +00:00
Building QEMU for a foreign arch relied on configure-hypervisor.sh emitting --cross-prefix, build-qemu.sh passing --cc/--cross-prefix for s390x, and the builder image installing foreign-arch -dev packages (via dpkg multiarch/DPKG_ARCH) plus a gcc-<arch>-linux-gnu cross toolchain. None of this is exercised on our side: QEMU is always built on a native-arch runner. Remove the cross-prefix logic, the s390x cross configure branch, and the DPKG_ARCH/cross-gcc plumbing from the Dockerfile and build-base-qemu.sh. 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