diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-12-19 23:21:45 +0100 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2011-12-20 22:20:18 +0100 |
commit | 0bdda5baa18bb787a967aad859b5e73f12c657f1 (patch) | |
tree | 0e256c88106b9f158a843d4c48a3c45b2af832ee /priv | |
parent | e4c85d45486b91ea77b037638141c75fda0f9ec5 (diff) |
Trim reltool config and add nodeid to release
Diffstat (limited to 'priv')
-rw-r--r-- | priv/templates/simplenode.reltool.config | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/priv/templates/simplenode.reltool.config b/priv/templates/simplenode.reltool.config index dc247cd..847680d 100644 --- a/priv/templates/simplenode.reltool.config +++ b/priv/templates/simplenode.reltool.config @@ -1,10 +1,13 @@ {sys, [ {lib_dirs, []}, + {erts, [{mod_cond, derived}, {app_file, strip}]}, + {app_file, strip}, {rel, "{{nodeid}}", "1", [ kernel, stdlib, - sasl + sasl, + {{nodeid}} ]}, {rel, "start_clean", "", [ @@ -13,16 +16,17 @@ ]}, {boot_rel, "{{nodeid}}"}, {profile, embedded}, + {incl_cond, exclude}, {excl_archive_filters, [".*"]}, %% Do not archive built libs - {excl_sys_filters, ["^bin/.*", + {excl_sys_filters, ["^bin/.*", "^erts.*/doc", "^erts.*/src", + "^erts.*/info", "^erts.*/man", + "^erts.*/lib", "^erts.*/include", "^erts.*/bin/(dialyzer|typer)"]}, - - %% Including HiPE can cause issues generating your first upgrade. - %% If you plan to distribute HiPE in your release remove the - %% following line. - {app, hipe, [{incl_cond, exclude}]}, - - {app, sasl, [{incl_cond, include}]} + {excl_app_filters, ["\.gitignore"]}, + {app, sasl, [{incl_cond, include}]}, + {app, stdlib, [{incl_cond, include}]}, + {app, kernel, [{incl_cond, include}]}, + {app, {{nodeid}}, [{incl_cond, include}]} ]}. {target_dir, "{{nodeid}}"}. |