diff --git a/priv/templates/simplenode.reltool.config b/priv/templates/simplenode.reltool.config index 932b148..b580c2a 100644 --- a/priv/templates/simplenode.reltool.config +++ b/priv/templates/simplenode.reltool.config @@ -16,15 +16,13 @@ ]}, {boot_rel, "{{nodeid}}"}, {profile, embedded}, - {incl_cond, exclude}, + {incl_cond, derived}, + {mod_cond, derived}, {excl_archive_filters, [".*"]}, %% Do not archive built libs {excl_sys_filters, ["^bin/.*", "^erts.*/bin/(dialyzer|typer)", "^erts.*/(doc|info|include|lib|man|src)"]}, {excl_app_filters, ["\.gitignore"]}, - {app, sasl, [{incl_cond, include}]}, - {app, stdlib, [{incl_cond, include}]}, - {app, kernel, [{incl_cond, include}]}, - {app, {{nodeid}}, [{incl_cond, include}]} + {app, {{nodeid}}, [{mod_cond, app}, {incl_cond, include}]} ]}. {target_dir, "{{nodeid}}"}.