accessing /etc/issue from flatpak

Ryan Gonzalez rymg19 at gmail.com
Thu Aug 22 03:20:22 UTC 2019


I think if you add --filesystem=host, you can access /run/host/etc.

On Wed, Aug 21, 2019, 6:46 PM Winnie Poon <winniepoon_home at hotmail.com>
wrote:

> Hi,
>
> i'm new to sandboxing using flatpak.
>
> For the code that i'm working on, i need to access the /etc/issue or
> /etc/redhat-release to get the system specific info in the cmake process.
> Obviously in the sandbox, the /etc is blacklisted.    Could anyone suggest
> a good way to handle this?  Is there something equivalent in the flatpak
> environment to obtain system information?    Thanks!
>
> Winnie
> _______________________________________________
> Flatpak mailing list
> Flatpak at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/flatpak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20190821/030f6e26/attachment.html>


More information about the Flatpak mailing list