fixeria has uploaded this change for review. (
https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/40755?usp=email )
Change subject: rebar.config: tune default relx configuration
......................................................................
rebar.config: tune default relx configuration
This is an explicit equivalent of {mode, prod}:
* {dev_mode, false} -- this makes rebar3/relx actually copy the
relevant files instaed of creating symlinks
* {include_src, false} -- this disables inclusion of source code
* {include_erts, true} -- this enables inclusion of the ERTS
See also:
https://rebar3.org/docs/deployment/releases/.
The benefits of including the ERTS (Erlang Runtime System) are:
* Self-contained: releases can be deployed anywhere,
regardless of what's installed on the target system.
* Consistent runtime: we can pin the exact Erlang/OTP version.
Change-Id: I296c859e088f5034bf4832e70a2b63304f5e421a
Related: SYS#7332
---
M rebar.config
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/erlang/osmo-s1gw refs/changes/55/40755/1
diff --git a/rebar.config b/rebar.config
index 4be5a1c..47ff372 100644
--- a/rebar.config
+++ b/rebar.config
@@ -44,8 +44,9 @@
{relx, [{release, {'osmo-s1gw', semver}, [osmo_s1gw]},
{sys_config, "./config/sys.config"},
- {dev_mode, true},
- {include_erts, false},
+ {dev_mode, false},
+ {include_src, false},
+ {include_erts, true},
{extended_start_script, true}]}.
%% vim:set ts=4 sw=4 et:
--
To view, visit
https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/40755?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: erlang/osmo-s1gw
Gerrit-Branch: master
Gerrit-Change-Id: I296c859e088f5034bf4832e70a2b63304f5e421a
Gerrit-Change-Number: 40755
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>