From 954bdc3303f51cd0bc1174a3fa0d6dd6e63aee36 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 6 Jun 2026 08:11:54 +0100 Subject: [PATCH] ci: appimage build requires the file command --- .github/workflows/gen_ubuntu24.04.yml | 3 +++ .github/workflows/gen_ubuntu24.04_continuous.yml | 3 +++ .github/workflows/gen_ubuntu24.04_tag.yml | 3 +++ ci/generate-workflows.py | 3 ++- 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gen_ubuntu24.04.yml b/.github/workflows/gen_ubuntu24.04.yml index 5e1a0bcb3..d56a91a54 100644 --- a/.github/workflows/gen_ubuntu24.04.yml +++ b/.github/workflows/gen_ubuntu24.04.yml @@ -111,6 +111,9 @@ jobs: - name: "Install libfuse2" shell: bash run: "apt-get install -y libfuse2" + - name: "Install file" + shell: bash + run: "apt-get install -y file" - name: "Source Tarball" shell: bash run: "bash ci/source-archive.sh" diff --git a/.github/workflows/gen_ubuntu24.04_continuous.yml b/.github/workflows/gen_ubuntu24.04_continuous.yml index e5900972f..4c4a0ddf8 100644 --- a/.github/workflows/gen_ubuntu24.04_continuous.yml +++ b/.github/workflows/gen_ubuntu24.04_continuous.yml @@ -114,6 +114,9 @@ jobs: - name: "Install libfuse2" shell: bash run: "apt-get install -y libfuse2" + - name: "Install file" + shell: bash + run: "apt-get install -y file" - name: "Source Tarball" shell: bash run: "bash ci/source-archive.sh" diff --git a/.github/workflows/gen_ubuntu24.04_tag.yml b/.github/workflows/gen_ubuntu24.04_tag.yml index 487a07439..76fcb9134 100644 --- a/.github/workflows/gen_ubuntu24.04_tag.yml +++ b/.github/workflows/gen_ubuntu24.04_tag.yml @@ -90,6 +90,9 @@ jobs: - name: "Install libfuse2" shell: bash run: "apt-get install -y libfuse2" + - name: "Install file" + shell: bash + run: "apt-get install -y file" - name: "Source Tarball" shell: bash run: "bash ci/source-archive.sh" diff --git a/ci/generate-workflows.py b/ci/generate-workflows.py index 041afb234..46312016a 100755 --- a/ci/generate-workflows.py +++ b/ci/generate-workflows.py @@ -503,8 +503,9 @@ rustup default {toolchain} } steps = [RunStep("Package", "bash ci/deploy.sh", env=deploy_env)] if self.app_image: - # AppImage needs fuse + # AppImage needs fuse and the file command steps += self.install_system_package("libfuse2") + steps += self.install_system_package("file") steps.append(RunStep("Source Tarball", "bash ci/source-archive.sh")) steps.append(RunStep("Build AppImage", "bash ci/appimage.sh")) return steps