diff options
author | Maryam Tahhan <maryam.tahhan@intel.com> | 2017-05-19 14:55:09 +0100 |
---|---|---|
committer | Maryam Tahhan <maryam.tahhan@intel.com> | 2017-05-23 08:20:04 +0000 |
commit | 5023a3129ac794ae659e46a870e00fc6cfcc48db (patch) | |
tree | 4c955d7352f96521e252f34605ceb93b4937d50b | |
parent | db68b7e767351f8b59db586e4035f501facf92a9 (diff) |
installation: update scripts to actually install
Update the scripts to actually install collectd.
Change-Id: I467e4fddbdd7c7b067586ddf24af8c5ec32b72a2
Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com>
-rw-r--r-- | docs/release/userguide/feature.userguide.rst | 2 | ||||
-rwxr-xr-x | systems/build_base_machine.sh | 2 |
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" |