From 161969b4fae60d49afaa07f202bdfa51b3c7acb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Bombo?= Date: Thu, 16 Jul 2026 12:22:03 -0500 Subject: [PATCH] packaging: strip OpenVMM debug information MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tools/packaging/static-build/openvmm/build-static-openvmm.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/packaging/static-build/openvmm/build-static-openvmm.sh b/tools/packaging/static-build/openvmm/build-static-openvmm.sh index 0a7f308b82..06488751d1 100755 --- a/tools/packaging/static-build/openvmm/build-static-openvmm.sh +++ b/tools/packaging/static-build/openvmm/build-static-openvmm.sh @@ -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