<div dir="ltr">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.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 19, 2019 at 9:00 AM Malte Deiseroth <<a href="mailto:msdeiseroth@gmx.net">msdeiseroth@gmx.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>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. <br></div><div><br></div><div>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: <br></div><div><br></div><div>"build-commands": [<br> "./binary.bin /path/to/install/to"<br>]</div><div><br></div><div>The java env is working fine, however the binary *only* allows to install into a path that starts with /home/.... <br></div><div>How can I make this work? As passing /app/bin as path, like in the tutorial, wont work.</div><div>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.</div><div><br></div><div>All my best</div><div>Malte<br></div></div>
_______________________________________________<br>
Flatpak mailing list<br>
<a href="mailto:Flatpak@lists.freedesktop.org" target="_blank">Flatpak@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/flatpak" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/flatpak</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature">Ryan (ライアン)<br>Yoko Shimomura, ryo (supercell/EGOIST), Hiroyuki Sawano >> everyone else<br><a href="https://refi64.com/" target="_blank">https://refi64.com/</a></div>