Having a home folder in a flatpak package
Ryan Gonzalez
rymg19 at gmail.com
Mon Sep 23 17:10:55 UTC 2019
You could always symlink the binary into /home/$USER/something (since
flatpak-builder mounts a private tmpfs under $HOME, none of this will
actually persist outside of the build namespace), then just move it from
there afterwards.
On Thu, Sep 19, 2019 at 9:00 AM Malte Deiseroth <msdeiseroth at gmx.net> wrote:
> Sry for polluting the mailing list, but I'm a little desperate. I'm trying
> to learn how to build a flatpak package and went through the Introduction
> and most of the documentation.
>
> I want to build a flatpak around a java binary I have no control over. The
> binary must be installed. Thus I use a build command like:
>
> "build-commands": [
> "./binary.bin /path/to/install/to"
> ]
>
> The java env is working fine, however the binary *only* allows to install
> into a path that starts with /home/....
> How can I make this work? As passing /app/bin as path, like in the
> tutorial, wont work.
> Obviously I don't really want it to install into the home folder, but just
> somewhere into the package itself. Thus I would need a way to create a
> temporary home folder, link between the new home and the /app folder and
> hopefully it will work.
>
> All my best
> Malte
> _______________________________________________
> Flatpak mailing list
> Flatpak at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/flatpak
--
Ryan (ライアン)
Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else
https://refi64.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/flatpak/attachments/20190923/c7add4d6/attachment.html>
More information about the Flatpak
mailing list