[erlang-questions] relx: how to use system erlang, not embed from my computer?

Mark Nijhof mark.nijhof@REDACTED
Thu Dec 18 18:29:33 CET 2014


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.

Here is a repo: https://github.com/MarkNijhof/erlang_docker

-Mark

On Thu, Dec 18, 2014 at 6:14 PM, Tristan Sloughter <t@REDACTED> wrote:
>
>  You must also set:
>
> {system_libs, false}.
>
> I've been undecided on making a single config variable that says to not
> include erts or system libs.
>
> Or you can set it to include another erts, which could be compiled for the
> platform you are deploying to:
>
> {include_erts, "/path/to/erts"}.
>
> I'm working on documentation as well. Currently it is within the rebar3
> project, http://www.rebar3.org/v1.0/docs/releases, but is the same for
> using relx on its own or with erlang.mk (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.
>
> Tristan
>
> On Thu, Dec 18, 2014, at 11:09 AM, Max Lapshin wrote:
>
>
> I've made simple project with erlang.mk and relx.config:
>
> {release, {peeklio, "0.1"},
>  [peeklio]}.
>
> {extended_start_script, true}.
>
> {include_erts, false}.
>
>
> I compile it under MacOS and copy _rel/... to linux. It doesn't work
> because
> crypto library is copied with MacOS .so
>
> How should I force relx to make some output that will use erlang from
> system?
>
>  *_______________________________________________*
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>

-- 
Mark Nijhof
t:   @MarkNijhof <https://twitter.com/MarkNijhof>
s:  marknijhof
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141218/8061a6ab/attachment.htm>


More information about the erlang-questions mailing list