mirror of
https://github.com/aljazceru/kata-containers.git
synced 2026-02-05 22:54:31 +01:00
The scripts/configure-hypervisor.sh split the QEMU and GCC version in major and minor versions then use those values on shell conditionals to compare versions. This is error prone, so instead this change the script to use the `sort -V -C ` command for version comparisons. Fixes: #1349 Signed-off-by: Wainer dos Santos Moschetta <wainersm@redhat.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