Disable flatpak-builder's rofiles-fuse under the CI runner
Some checks failed
CI / macos (push) Waiting to run
CI / linux (push) Successful in 2m7s
Release / linux (push) Successful in 2m20s
Release / flatpak (push) Failing after 10s
Release / release (push) Has been skipped
Release / macos (push) Successful in 34s

rofiles-fuse's mount/unmount cycle fails under the forgejo-runner
systemd service ("Permission denied" / "Operation not permitted" on
fusermount3) even though /dev/fuse itself is world-writable - services
don't get the same mount-namespace treatment an interactive session
does. --disable-rofiles-fuse is flatpak-builder's own documented
workaround for exactly this class of environment (containers/CI).
This commit is contained in:
randogoth 2026-10-07 21:14:12 +03:00
parent 3183f15da6
commit cf57009eeb

View file

@ -44,7 +44,7 @@
"flatpak-builder --force-clean --user --install-deps-from=flathub --install .flatpak com.randogoth.carrier.json" "flatpak-builder --force-clean --user --install-deps-from=flathub --install .flatpak com.randogoth.carrier.json"
], ],
"bundle-flatpak": [ "bundle-flatpak": [
"flatpak-builder --force-clean --user --repo=.flatpak-repo --install-deps-from=flathub .flatpak-build com.randogoth.carrier.release.json", "flatpak-builder --force-clean --user --disable-rofiles-fuse --repo=.flatpak-repo --install-deps-from=flathub .flatpak-build com.randogoth.carrier.release.json",
"flatpak build-bundle .flatpak-repo carrier-x86_64.flatpak com.randogoth.carrier" "flatpak build-bundle .flatpak-repo carrier-x86_64.flatpak com.randogoth.carrier"
] ]
} }