mirror of
https://github.com/vhaudiquet/ecrou.git
synced 2026-11-12 22:22:44 +00:00
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.
This commit is contained in:
1 parent
f3da39011e
commit
0347309eea
1 file changed
+5
-2
@@ -48,10 +48,13 @@ jobs:
|
|||||||
|
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
|
|
||||||
- name: Install strace
|
- name: Install strace and the image tooling
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -qq
|
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
|
# The runner exposes nested KVM; the runner user needs rw on the
|
||||||
# device node for the probe to pass.
|
# device node for the probe to pass.
|
||||||
|
|||||||
Reference in new issue
Block a user