Trim reltool config and add nodeid to release

This commit is contained in:
Tuncer Ayaz 2011-12-19 23:21:45 +01:00
parent e4c85d4548
commit 0bdda5baa1

View file

@ -1,10 +1,13 @@
{sys, [ {sys, [
{lib_dirs, []}, {lib_dirs, []},
{erts, [{mod_cond, derived}, {app_file, strip}]},
{app_file, strip},
{rel, "{{nodeid}}", "1", {rel, "{{nodeid}}", "1",
[ [
kernel, kernel,
stdlib, stdlib,
sasl sasl,
{{nodeid}}
]}, ]},
{rel, "start_clean", "", {rel, "start_clean", "",
[ [
@ -13,16 +16,17 @@
]}, ]},
{boot_rel, "{{nodeid}}"}, {boot_rel, "{{nodeid}}"},
{profile, embedded}, {profile, embedded},
{incl_cond, exclude},
{excl_archive_filters, [".*"]}, %% Do not archive built libs {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)"]}, "^erts.*/bin/(dialyzer|typer)"]},
{excl_app_filters, ["\.gitignore"]},
%% Including HiPE can cause issues generating your first upgrade. {app, sasl, [{incl_cond, include}]},
%% If you plan to distribute HiPE in your release remove the {app, stdlib, [{incl_cond, include}]},
%% following line. {app, kernel, [{incl_cond, include}]},
{app, hipe, [{incl_cond, exclude}]}, {app, {{nodeid}}, [{incl_cond, include}]}
{app, sasl, [{incl_cond, include}]}
]}. ]}.
{target_dir, "{{nodeid}}"}. {target_dir, "{{nodeid}}"}.