packaging/standalone: Copy `start_clean.boot` to bin driectory

This boot script is required by escript(1). Without it, escript(1) fails
with the following error:

    {"init terminating in do_boot",{'cannot get bootfile','start_clean.boot'}}
    init terminating in do_boot ()

[#141679931]
This commit is contained in:
Jean-Sébastien Pédron 2017-03-14 14:28:04 +01:00
parent 44f41f02eb
commit 7ffe744d66
No known key found for this signature in database
GPG Key ID: 39E99761A5FD94CC
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,8 @@ dist:
# Required by rabbit_nodes:ensure_epmd/0
mkdir -p $(RLS_DIR)/bin/
cp $(ERTS_ROOT_DIR)/bin/start.boot $(RLS_DIR)/bin/
# We also copy `start_clean.boot` which is required by escript(1).
cp $(ERTS_ROOT_DIR)/bin/start_clean.boot $(RLS_DIR)/bin/
# move rabbitmq files to top level folder
mv $(RLS_DIR)/lib/rabbit-$(VERSION)/* $(RLS_DIR)