mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-25 14:18:54 +00:00
packaging: strip OpenVMM debug information
Remove DWARF debug information from the OpenVMM binary before packaging it. This reduces the compressed OpenVMM asset by about 87 MiB and keeps the combined release tarball below GitHub’s 2 GiB asset limit. This should be reverted when the CI allows. Generated-By: GitHub Copilot Signed-off-by: Aurélien Bombo <abombo@microsoft.com>
This commit is contained in:
@@ -57,6 +57,9 @@ build_openvmm_from_source() {
|
||||
|
||||
local binary="target/release/openvmm"
|
||||
[[ -f "${binary}" ]] || die "openvmm binary not found at ${binary}"
|
||||
# OpenVMM release builds include DWARF; remove it so the combined Kata
|
||||
# release tarball remains below GitHub's 2 GiB asset limit.
|
||||
strip --strip-debug "${binary}"
|
||||
popd
|
||||
|
||||
# Stage the binary at openvmm/openvmm for the installer to pick up
|
||||
|
||||
Reference in New Issue
Block a user