summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorShunichi Shinohara <shino.shun@gmail.com>2013-12-27 16:54:20 +0900
committerShunichi Shinohara <shino.shun@gmail.com>2014-03-09 15:55:52 +0900
commit81ed1611af693fb9b4483a55c437a5c9d743966c (patch)
tree4bd9a5cec92f4bfe58a38e42cccb7a6b911af0cf /priv
parente4300bf88f78e171e597fd9c30f7a6b4ef7f084e (diff)
Add TODO comment to install_upgrade script template
Diffstat (limited to 'priv')
-rwxr-xr-x[-rw-r--r--]priv/templates/simplenode.install_upgrade.escript8
1 files changed, 8 insertions, 0 deletions
diff --git a/priv/templates/simplenode.install_upgrade.escript b/priv/templates/simplenode.install_upgrade.escript
index 56cea19..0d4cbe3 100644..100755
--- a/priv/templates/simplenode.install_upgrade.escript
+++ b/priv/templates/simplenode.install_upgrade.escript
@@ -6,6 +6,14 @@
-define(TIMEOUT, 60000).
-define(INFO(Fmt,Args), io:format(Fmt,Args)).
+%% TODO: This script currently does NOT support slim releases.
+%% Necessary steps to upgrade a slim release are as follows:
+%% 1. unpack relup archive manually
+%% 2. copy releases directory and necessary libraries
+%% 3. using release_hander:set_unpacked/2 .
+%% For more details, see https://github.com/rebar/rebar/pull/52
+%% and https://github.com/rebar/rebar/issues/202
+
main([NodeName, Cookie, ReleasePackage]) ->
TargetNode = start_distribution(NodeName, Cookie),
{ok, Vsn} = rpc:call(TargetNode, release_handler, unpack_release,