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.
This commit is contained in:
HanifKoh authored and GitHub committed 2026-11-04 12:40:11 +08:00
1 parent 05a92cd0cf
commit aee4dfc705
1 file changed
+4
+4
View File
@@ -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: