diff options
-rw-r--r-- | src/rlx_prv_assembler.erl | 2 | ||||
-rw-r--r-- | test/rlx_extended_bin_SUITE.erl | 8 |
2 files changed, 2 insertions, 8 deletions
diff --git a/src/rlx_prv_assembler.erl b/src/rlx_prv_assembler.erl index 278756d..475869c 100644 --- a/src/rlx_prv_assembler.erl +++ b/src/rlx_prv_assembler.erl @@ -399,7 +399,7 @@ write_bin_file(State, Release, OutputDir, RelDir) -> Hooks = expand_hooks(BinDir, rlx_state:get(State, extended_start_script_hooks, - [{status, [builtin_status]}]), + []), State), extended_bin_file_contents(OsFamily, RelName, RelVsn, rlx_release:erts(Release), ErlOpts, diff --git a/test/rlx_extended_bin_SUITE.erl b/test/rlx_extended_bin_SUITE.erl index c049209..a9a7df7 100644 --- a/test/rlx_extended_bin_SUITE.erl +++ b/test/rlx_extended_bin_SUITE.erl @@ -1344,13 +1344,7 @@ builtin_status_script(Config) -> timer:sleep(2000), {ok, "pong"} = sh(filename:join([OutputDir, "foo", "bin", "foo ping"])), %% write the status to a file - {ok, StatusStr} = sh(filename:join([OutputDir, "foo", "bin", "foo status"])), - ec_file:write(filename:join([OutputDir, "status.txt"]), - StatusStr ++ ".\n"), - os:cmd(filename:join([OutputDir, "foo", "bin", "foo stop"])), - {ok, [Status]} = file:consult(filename:join([OutputDir, "status.txt"])), - Apps = lists:map(fun({App, _, _}) -> App end, Status), - {ok, [goal_app, kernel, stdlib] = lists:sort(Apps)}. + {ok, ""} = sh(filename:join([OutputDir, "foo", "bin", "foo status"])). custom_status_script(Config) -> LibDir1 = proplists:get_value(lib1, Config), |