From 0347309eea2bc58fd90dbf9f22ac693d65a7e3b6 Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Fri, 30 Oct 2026 21:22:33 +0100 Subject: [PATCH] ci: install libarchive for the image build Same dlopen as the snap stages for: the runner has e2fsprogs but not the lib, and the first cold pull would fail. The t64 name with a fallback keeps it honest if the runner image changes base. --- .github/workflows/ci.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1bce0eb..66e2481 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -48,10 +48,13 @@ jobs: - uses: Swatinem/rust-cache@v2 - - name: Install strace + - name: Install strace and the image tooling run: | sudo apt-get update -qq - sudo apt-get install -y -qq strace + # mke2fs populates from a tarball through a runtime dlopen of + # libarchive; the runner has e2fsprogs but not the lib. + sudo apt-get install -y -qq strace libarchive13t64 \ + || sudo apt-get install -y -qq strace libarchive13 # The runner exposes nested KVM; the runner user needs rw on the # device node for the probe to pass.