Fails to start on Endless OS
wjt@camille:~$ de.haeckerfelix.Souk.Devel
INFO souk::app > Souk (de.haeckerfelix.Souk.Devel) (2e54a60)
INFO souk::app > Version: 0.0.1 (development)
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { domain: g-io-error-quark, code: 1, message: "While opening repository /var/lib/flatpak/repo: opening repo: opendir(/var/lib/flatpak/repo): Aucun fichier ou dossier de ce type" }', ../src/backend/flatpak_backend.rs:52:74
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
This is because we have a weird layout where the system Flatpak repo is merged with the OS's ostree repo:
wjt@camille:~$ ls -l /var/lib/flatpak/repo
lrwxrwxrwx 1 root root 12 juin 14 2019 /var/lib/flatpak/repo -> /ostree/repo
The workaround is to add --filesystem=/ostree
. Thoughts on whether this is OK to just add directly to the manifest?