1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
# Foundry from Flatpak
You'll want to include the "libfoundry.json" from your "modules" section of the Flatpak.
You'll also probably want this in your manifest:
```json
"finish-args" : [
"--allow=devel",
"--device=dri",
"--filesystem=host:ro",
"--filesystem=~/.local/share/flatpak",
"--filesystem=/var/lib/flatpak",
"--filesystem=/var/tmp",
"--share=ipc",
"--share=network",
"--socket=fallback-x11",
"--socket=wayland",
"--system-talk-name=org.freedesktop.PolicyKit1",
"--system-talk-name=org.freedesktop.Flatpak.SystemHelper",
"--talk-name=org.freedesktop.Flatpak"
],
```
Additionally, this is needed to allow ostree to build.
```
"build-options" : {
"env" : {
"V" : "1",
"BASH_COMPLETIONSDIR" : "/app/share/bash-completion/completions",
"MOUNT_FUSE_PATH" : "../tmp/"
}
},
```
|