diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-02-08 07:31:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-02-08 07:31:03 +0000 |
commit | 50485bedfd9818165aa1d039d0abe95a559134b7 (patch) | |
tree | 79c7b08f67edcfb0c936e7a22931653b91189b9f /makeself/build.sh | |
parent | Releasing debian version 1.11.1+dfsg-7. (diff) | |
download | netdata-50485bedfd9818165aa1d039d0abe95a559134b7.tar.xz netdata-50485bedfd9818165aa1d039d0abe95a559134b7.zip |
Merging upstream version 1.12.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'makeself/build.sh')
-rwxr-xr-x | makeself/build.sh | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/makeself/build.sh b/makeself/build.sh deleted file mode 100755 index e8c1c9dd..00000000 --- a/makeself/build.sh +++ /dev/null @@ -1,61 +0,0 @@ -#!/usr/bin/env sh -# SPDX-License-Identifier: GPL-3.0-or-later - -# ----------------------------------------------------------------------------- -# parse command line arguments - -export NETDATA_BUILD_WITH_DEBUG=0 - -while [ ! -z "${1}" ] -do - case "${1}" in - debug) - export NETDATA_BUILD_WITH_DEBUG=1 - ;; - - *) - ;; - esac - - shift -done - - -# ----------------------------------------------------------------------------- - -# First run install-alpine-packages.sh under alpine linux to install -# the required packages. build-x86_64-static.sh will do this for you -# using docker. - -cd $(dirname "$0") || exit 1 - -# if we don't run inside the netdata repo -# download it and run from it -if [ ! -f ../netdata-installer.sh ] -then - git clone https://github.com/netdata/netdata.git netdata.git || exit 1 - cd netdata.git/makeself || exit 1 - ./build.sh "$@" - exit $? -fi - -cat >&2 <<EOF - -This program will create a self-extracting shell package containing -a statically linked netdata, able to run on any 64bit Linux system, -without any dependencies from the target system. - -It can be used to have netdata running in no-time, or in cases the -target Linux system cannot compile netdata. - -EOF - -# read -p "Press ENTER to continue > " - -if [ ! -d tmp ] - then - mkdir tmp || exit 1 -fi - -./run-all-jobs.sh "$@" -exit $? |