Modified ramcloud scripts
diff --git a/setup-ramcloud.sh b/setup-ramcloud.sh
index 200f734..758bb0c 100755
--- a/setup-ramcloud.sh
+++ b/setup-ramcloud.sh
@@ -12,11 +12,12 @@
git checkout 64462be50b9b0add25cf16beea75eb40bf89f62c
# install some app
-sudo -y apt-get install build-essential git-core libcppunit-dev libcppunit-doc doxygen libboost-all-dev libpcre3-dev protobuf-compiler libprotobuf-dev libcrypto++-dev libevent-dev scons libssl-dev
+sudo apt-get -y install build-essential git-core libcppunit-dev libcppunit-doc doxygen libboost-all-dev libpcre3-dev protobuf-compiler libprotobuf-dev libcrypto++-dev libevent-dev scons libssl-dev
# compile ramcloud
git submodule update --init --recursive
-patch ${HOME}/ramcloud/src/MasterService.cc < ramcloud.patch
+patch ${RAMCLOUD_HOME}/src/MasterService.cc < ${ONOS_HOME}/ramcloud.patch
+patch ${RAMCLOUD_HOME}/logcabin/Core/Time.h < ${ONOS_HOME}/logcabin.patch
make logcabin
make
diff --git a/start-ramcloud.sh b/start-ramcloud.sh
index c1acc5f..b3cce02 100755
--- a/start-ramcloud.sh
+++ b/start-ramcloud.sh
@@ -45,7 +45,7 @@
# Run ramcloud
echo "Starting ramcloud"
- $RAMCLOUD_DIR/obj.blueprint-java/server -M -r 0 -L $RAMCLOUD_SERVER -C $RAMCLOUD_COORDINATOR > $RAMCLOUD_LOG 2>&1 &
+ $RAMCLOUD_DIR/obj.blueprint-java/server -M -L $RAMCLOUD_SERVER -C $RAMCLOUD_COORDINATOR --detectFailures 0 > $RAMCLOUD_LOG 2>&1 &
}
function stop {