From a1fc61c24762afd4df291708c4b476152f4aa47e Mon Sep 17 00:00:00 2001 From: Magnus Feuer Date: Sun, 24 Jan 2016 11:13:01 -0800 Subject: Now does basic install with make install --- scripts/rvi_install.sh | 78 ++++++++++++++++---------------------------------- 1 file changed, 24 insertions(+), 54 deletions(-) (limited to 'scripts') diff --git a/scripts/rvi_install.sh b/scripts/rvi_install.sh index 03d325d..7e949a1 100755 --- a/scripts/rvi_install.sh +++ b/scripts/rvi_install.sh @@ -8,33 +8,32 @@ # # -# Setup an RVI release +# Setup an RVI release with a configuration file. # +# This script will setup a directory with with the same name +# as the release name. The script uses Ulf Wiger's setup application +# (github.com/Feuerlabs/setup) to generate the release. +# +# With the -d argument, a developer release will be built with +# only +# +# Once setup, the RVI node can be started with ./rvi_node start" +echo "Attach started RVI: ${TARGET_DIR}/rvi.sh attach" +echo "Stop: ${TARGET_DIR}/rvi.sh stop" +echo "Start console mode: ${TARGET_DIR}/rvi.sh -c console" -sed -e "s|__RVI_LIBDIR__|${STRIP_LIB_DIR}|g" \ - -e "s|__RVI_BINDIR__|${STRIP_BIN_DIR}|g" \ - -e "s|__RVI_LOGDIR__|${STRIP_LOG_DIR}|g" < scripts/rvi_ctl > /tmp/rvi_ctl - -install --mode=0755 /tmp/rvi_ctl ${BIN_DIR} -install --mode=0755 scripts/setup_gen ${BIN_DIR} -install --mode=0755 rel/files/nodetool ${BIN_DIR} -install --mode=0755 python/rvi_service.py ${BIN_DIR}/rvi_service -install --mode=0755 python/rvi_call.py ${BIN_DIR}/rvi_call -install --mode=0644 python/rvilib.py ${BIN_DIR} -install --mode=0755 python/rvi_get_services.py ${BIN_DIR}/rvi_get_services - -echo "RVI binary files installed under ${BIN_DIR}" -echo "RVI library files installed under ${LIB_DIR}" -echo "RVI log files installed under ${LOG_DIR}" -echo -echo "Start: ${BIN_DIR}/rvi_ctl -c start" -echo "Attach started RVI: ${BIN_DIR}/rvi_ctl attach" -echo "Stop: ${BIN_DIR}/rvi_ctl stop" -echo "Start console mode: ${BIN_DIR}/rvi_ctl -c console" -echo exit 0 -- cgit v1.2.1