On Fri, Jun 19, 2020, at 12:44 PM, Daniel P. Berrangé wrote:
IIUC from the docs, when using Modularity to build Flatpaks, the
prefix is changed to /app instead of /usr, which makes it much
closers to SCL:
https://docs.fedoraproject.org/en-US/flatpak/concepts/
The reason for that has nothing to do with modularity, but actually a core distinction
between flatpak and "containers" by which it's usually understood one is
talking about Docker/OCI. (Also the confusion gets even bigger here because flatpak can
use Docker/OCI as a transport, but differs in the model of how it uses those images)
flatpak *dynamically links* applications with the runtime (in contrast to the Docker/OCI
model). That's why flatpak apps are in /app.
(There's nothing truly desktop/flatpak specific about doing this, but trying to
propagate it to the wider container world around e.g. Kubernetes is a large complex topic)