<div dir="ltr"><div><div><div><div>you might pass --filesystem=FILESYSTEM[:ro] to "flatpak run"<br></div>does this help you?<br><br>> not involving proving access to host filesystem?<br><br></div>it can be read-only access<br><br>> Are there any other approaches,<br><br></div>maybe shipping those runtimes as flatpak SDKs<br></div>just like gnome builder<br><br><div><br><div><div><div><br></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Mar 3, 2018 at 6:59 PM, Max Ivanov <span dir="ltr"><<a href="mailto:ivanov.maxim@gmail.com" target="_blank">ivanov.maxim@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am trying flatpak for the first time and started with installing<br>
Visual Studio Code. It runs just fine, but<br>
doesn't seem very usable as it expects certain software to be<br>
available to it: app runtimes, compilers, VCS tools. Certain runtimes<br>
can be made available via lets say ~/opt/ ,such as node or Go, but it<br>
is more problematic for other type of software - GCC, Perl, etc.<br>
<br>
VSCode flatpak authors had to bundle Git to make it more practical,<br>
but it is unrealistic to expect them to bundle everything developer<br>
might need. Usually all these tools can be found on a host system in a<br>
working state, but it comes in conflict with flatpak sandboxing<br>
approach.<br>
<br>
Does Flatpak have plan to address it? Is it even technically possible?<br>
<br>
If providing access to host system is something flatpak would allow,<br>
how one would go around things like RPATH recorded in binaries? Only<br>
thing I can think of is lets say mount how filesystem to /host and<br>
then install wrapper binaries for everything in PATH, those binaries<br>
would chroot into /host and execute real binary from there.<br>
<br>
Are there any other approaches, not involving proving access to host<br>
filesystem? Like packaging runtimes as optional "addon" apps, and then<br>
let flatpak user to "mount" them into flatpak app sandbox of their<br>
choice.<br>
______________________________<wbr>_________________<br>
Flatpak mailing list<br>
<a href="mailto:Flatpak@lists.freedesktop.org">Flatpak@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/flatpak" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/flatpak</a><br>
</blockquote></div><br></div>