summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/release/userguide/feature.userguide.rst2
-rwxr-xr-xsystems/build_base_machine.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/release/userguide/feature.userguide.rst b/docs/release/userguide/feature.userguide.rst
index fcaf37b5..ed4729ed 100644
--- a/docs/release/userguide/feature.userguide.rst
+++ b/docs/release/userguide/feature.userguide.rst
@@ -110,7 +110,7 @@ To install collectd as a service and install all it's dependencies:
.. code:: bash
- $ cd barometer && ./systems/build_base_machine.sh
+ $ cd barometer/systems && ./build_base_machine.sh
This will install collectd as a service and the base install directory
will be /opt/collectd.
diff --git a/systems/build_base_machine.sh b/systems/build_base_machine.sh
index 7b877f57..70a0d171 100755
--- a/systems/build_base_machine.sh
+++ b/systems/build_base_machine.sh
@@ -68,7 +68,9 @@ fi
# download and compile DPDK and Collectd
if [ -f ../src/Makefile ] ; then
cd ../src
+ make clobber || die "Make clobber failed"
make || die "Make failed"
+ make intsall || die "Make install failed"
cd -
else
die "Make failed; No Makefile"