From aee4dfc705896cef09c0809a1b5d65a6eaab6ef8 Mon Sep 17 00:00:00 2001 From: HanifKoh <76276251+HanifKoh@users.noreply.github.com> Date: Wed, 4 Nov 2026 12:40:11 +0800 Subject: [PATCH] Keep Flatpak Runtimes on a Volume in CI (#17207) Updating a runtime renames its old deployment. On some hosted runners that rename fails with "Invalid cross-device link" because the deployment sits in an image layer of the container's overlay filesystem. Moving /var/lib/flatpak to an anonymous volume keeps the rename off overlay. --- .github/workflows/build_all.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index ac65eddf11..5589315491 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -268,6 +268,10 @@ jobs: - /opt/ghc:/opt/ghc1 - /usr/local/share/boost:/usr/local/share/boost1 - /opt/hostedtoolcache:/opt/hostedtoolcache1 + # Updating a runtime renames its old deployment, which fails with + # "Invalid cross-device link" on hosts whose Docker overlay cannot + # rename directories from an image layer. A volume is not overlay. + - /var/lib/flatpak strategy: fail-fast: false matrix: