summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Wiger <ulf@feuerlabs.com>2015-06-10 15:22:55 +0200
committerUlf Wiger <ulf@feuerlabs.com>2015-06-10 15:22:55 +0200
commitdc426840db541b4069c9891998b9c9c6db59961b (patch)
tree0c2532d7a50610c2044832577b6957277ec33059
parente744973c958a393624bec930c1d63a8f552e0cf0 (diff)
downloadrvi_core-dc426840db541b4069c9891998b9c9c6db59961b.tar.gz
fix SELF_DIR for Mac, add missing apps to config
-rw-r--r--Makefile3
-rw-r--r--README.md2
-rw-r--r--priv/config/rvi_common.config7
-rwxr-xr-xscripts/rvi_node.sh4
-rwxr-xr-xscripts/setup_rvi_node.sh4
5 files changed, 13 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 045790b..7ae9814 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,8 @@
.PHONY: all deps compile clean rpm rpmclean
-VERSION=0.3.2
+
+VERSION=0.4.0
all: deps compile escript
diff --git a/README.md b/README.md
index 1fa14e3..6b7d308 100644
--- a/README.md
+++ b/README.md
@@ -29,7 +29,7 @@ The RVI mailing list is available at:
[AGL](http://lists.linuxfoundation.org/mailman/listinfo/automotive-eg-rvi)
The RVI wiki is available at:
-[AGL](https://wiki.automotivelinux.org/eg-rvi/)
+[AGL](https://wiki2.automotivelinux.org/eg-rvi/)
# PROJECT MISSION STATEMENT #
diff --git a/priv/config/rvi_common.config b/priv/config/rvi_common.config
index ef5ff3c..ad60c89 100644
--- a/priv/config/rvi_common.config
+++ b/priv/config/rvi_common.config
@@ -25,7 +25,8 @@ Out = filename:absname(proplists:get_value(outdir, OPTIONS)).
compiler,
ssl,
asn1,
- wse,
+ wse,
+ bt,
%% RVI-specific apps.
%% Do not touch unless you are replacing apps with your own
@@ -45,7 +46,9 @@ Out = filename:absname(proplists:get_value(outdir, OPTIONS)).
authorize,
schedule,
dlink_tcp,
- proto_bert
+ dlink_bt,
+ proto_bert,
+ proto_json
%% If adding apps, you can still include this config, and complement
%% with {add_apps, [App]}, {remove_apps, [App]} and even {sort_app,A,Before}.
]},
diff --git a/scripts/rvi_node.sh b/scripts/rvi_node.sh
index 2f5a2c4..64c46b3 100755
--- a/scripts/rvi_node.sh
+++ b/scripts/rvi_node.sh
@@ -18,8 +18,8 @@
# This script can be executed after a setup_node.sh has been executed to
# create the necessary config files and erlang boot scripts.
#
-
-SELF_DIR=$(dirname $(readlink -f "$0"))
+alias realpath="python -c 'import os, sys; print os.path.realpath(sys.argv[1])'"
+SELF_DIR=$(dirname $(realpath "$0"))
usage() {
echo "Usage: $0 -n node_name"
diff --git a/scripts/setup_rvi_node.sh b/scripts/setup_rvi_node.sh
index a14a54f..8dbd290 100755
--- a/scripts/setup_rvi_node.sh
+++ b/scripts/setup_rvi_node.sh
@@ -24,7 +24,9 @@
# In order to create a standalone release, use create_rvi_release.sh
#
-SELF_DIR=$(dirname $(readlink -f "$0"))
+alias realpath="python -c 'import os, sys; print os.path.realpath(sys.argv[1])'"
+SELF_DIR=$(dirname $(realpath "$0"))
+
SETUP_GEN=$SELF_DIR/setup_gen # Ulf's kitchen sink setup utility
usage() {