<div dir="ltr">Maybe a bit more cumbersome then changing a parameter (perhaps more guaranteed success), but I used to use a docker image to create a release for Ubuntu on MacOS so the platform is the same. Now I run Ubuntu on my machine so I don't need it anymore, but it was useful.<div><br></div><div>Here is a repo: <a href="https://github.com/MarkNijhof/erlang_docker">https://github.com/MarkNijhof/erlang_docker</a></div><div><br></div><div>-Mark</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 18, 2014 at 6:14 PM, Tristan Sloughter <span dir="ltr"><<a href="mailto:t@crashfast.com" target="_blank">t@crashfast.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div><div><div>You must also set: <br></div>
<div> </div>
<div>{system_libs, false}.<br></div>
<div> </div>
<div>I've been undecided on making a single config variable that says to not include erts or system libs.<br></div>
<div> </div>
<div>Or you can set it to include another erts, which could be compiled for the platform you are deploying to:<br></div>
<div> </div>
<div>{include_erts, "/path/to/erts"}.<br></div>
</div>
<div> </div>
<div>I'm working on documentation as well. Currently it is within the rebar3 project, <a href="http://www.rebar3.org/v1.0/docs/releases" target="_blank">http://www.rebar3.org/v1.0/docs/releases</a>, but is the same for using relx on its own or with <a href="http://erlang.mk" target="_blank">erlang.mk</a> (except that you have to have a relx.config and can't use profiles). But I'll be creating a relx only set of docs similar to these.<br></div>
<div> </div>
<div>Tristan<br></div><div><div class="h5">
<div> </div>
<div>On Thu, Dec 18, 2014, at 11:09 AM, Max Lapshin wrote:<br></div>
</div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr"><div> </div>
<div>I've made simple project with <a href="http://erlang.mk" target="_blank">erlang.mk</a> and relx.config:<br></div>
<div> </div>
<div><div>{release, {peeklio, "0.1"},<br></div>
<div> [peeklio]}.<br></div>
<div> </div>
<div>{extended_start_script, true}.<br></div>
<div> </div>
<div>{include_erts, false}.<br></div>
</div>
<div> </div>
<div> </div>
<div>I compile it under MacOS and copy _rel/... to linux. It doesn't work because<br></div>
<div>crypto library is copied with MacOS .so<br></div>
<div> </div>
<div>How should I force relx to make some output that will use erlang from system?<br></div>
<div> </div>
</div>
</div></div><div><u>_______________________________________________</u><br></div>
<div>erlang-questions mailing list<br></div>
<div><a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br></div>
<div><a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br></div>
</blockquote><div> </div>
</div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Mark Nijhof<br><div><div>t: <a href="https://twitter.com/MarkNijhof" target="_blank">@MarkNijhof</a><br>s: marknijhof</div></div><div><br></div></div></div>
</div>