mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 20:08:54 +00:00
There were a couple of issues with the build-scripts discovered while doing release: - Relative paths are error prone. Fix error. - short_commit_length is used to truncate sha for commits when appending agent version to resulting files. Before this was in pkglib.sh, which is otherwise an unused file from when we supported OBS. Add this define to lib.sh, which is sourced by the applicable packaging scripts. There's plenty of room for improvement, but these fixes make the existing scripts functional again. Fixes: #871 Signed-off-by: Eric Ernst <eric.g.ernst@gmail.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