Erlang/OTP 25 makes it so Erlang releases are relocatable by default. It does so by calling
bin/dyn_erl is a version of
bin/erl implemented in C.
When using reltool, you can also mark a release as relocatable (this is the default). Doing so makes it so
bin/dyn_erl is used instead of
bin/erl. However, I believe this option is no longer relevant from Erlang/OTP 25 and the whole code path could be removed.
If that’s the case: do we still need both
bin/dyn_erl? It looks like we have two options:
bin/erl, and make it the actual entry point
bin/erlas is and trim down
bin/dyn_erlfunctionality to be only about computing the real path (potentially renaming it to