mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-02 07:02:16 +00:00
The `install_cached_tarball_component` function in the binaries packaging script contained syntax errors where it attempted to capture the empty stdout of the `cleanup_and_fail` function inside a return statement (e.g., `return "$(cleanup_and_fail ...)"`). Since `cleanup_and_fail` only returns an exit status and produces no stdout, this evaluated to `return ""`, which is invalid in bash and causes the script to crash with `numeric argument required` instead of returning the failure status. Fix this by replacing the buggy inline returns with proper `if` blocks that call `cleanup_and_fail` and explicitly return `1`. Signed-off-by: Huy Pham <huypham@google.com>
Kata Containers packaging
Introduction
Kata Containers currently supports packages for many distributions. Tooling to aid in creating these packages are contained within this repository.
Build in a container
Kata build artifacts are available within a container image, created by a
Dockerfile. Reference DaemonSets are provided in
kata-deploy, which make installation of Kata Containers in a
running Kubernetes Cluster very straightforward.
Build static binaries
See the static build documentation.
Build Kata Containers Kernel
Build QEMU
Create a Kata Containers release
See the release documentation.
Packaging scripts
See the scripts documentation.
Credits
Kata Containers packaging uses packagecloud for package hosting.