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:
parent
44f41f02eb
commit
7ffe744d66
|
@ -85,6 +85,8 @@ dist:
|
||||||
# Required by rabbit_nodes:ensure_epmd/0
|
# Required by rabbit_nodes:ensure_epmd/0
|
||||||
mkdir -p $(RLS_DIR)/bin/
|
mkdir -p $(RLS_DIR)/bin/
|
||||||
cp $(ERTS_ROOT_DIR)/bin/start.boot $(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
|
# move rabbitmq files to top level folder
|
||||||
mv $(RLS_DIR)/lib/rabbit-$(VERSION)/* $(RLS_DIR)
|
mv $(RLS_DIR)/lib/rabbit-$(VERSION)/* $(RLS_DIR)
|
||||||
|
|
Loading…
Reference in New Issue