diff options
author | James Mills <prologic@shortcircuit.net.au> | 2020-05-29 12:27:22 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-29 12:27:22 +1000 |
commit | 5087294d8174c16b0b46fc591f3fcc716cd20023 (patch) | |
tree | b515bd7746b18673924394f5b85d9fe839c2e8d0 /packaging/makeself/run-all-jobs.sh | |
parent | aff16a2dfa79e3b8ed360878837fb72446f4c591 (diff) |
Add support for eBPF for Netdata static64 (kickstart-static64.sh) (#9104)
* Add tool to build the dist and static x864_64 artifacts
* Add tool to bump the Netdata packaging version
* Cleanup all the makeself scripts and update to Alpine 3.11
* Add zgrep and xz to Alpine 3.7 container used to build x86_64 static Netdata so check-kernel-config.sh does not fail
* Explicitly bundle the -static varient of the eBPF kernel-collector library/programs
Diffstat (limited to 'packaging/makeself/run-all-jobs.sh')
-rwxr-xr-x | packaging/makeself/run-all-jobs.sh | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/packaging/makeself/run-all-jobs.sh b/packaging/makeself/run-all-jobs.sh index f7507c2d2c..dd123c2189 100755 --- a/packaging/makeself/run-all-jobs.sh +++ b/packaging/makeself/run-all-jobs.sh @@ -1,12 +1,11 @@ #!/usr/bin/env bash # SPDX-License-Identifier: GPL-3.0-or-later +set -e + LC_ALL=C umask 002 -# be nice -renice 19 $$ >/dev/null 2>/dev/null - # ----------------------------------------------------------------------------- # prepare the environment for the jobs @@ -14,10 +13,11 @@ renice 19 $$ >/dev/null 2>/dev/null export NETDATA_INSTALL_PATH="${1-/opt/netdata}" # our source directory -export NETDATA_MAKESELF_PATH="$(dirname "${0}")" -if [ "${NETDATA_MAKESELF_PATH:0:1}" != "/" ] - then - export NETDATA_MAKESELF_PATH="$(pwd)/${NETDATA_MAKESELF_PATH}" +NETDATA_MAKESELF_PATH="$(dirname "${0}")" +export NETDATA_MAKESELF_PATH +if [ "${NETDATA_MAKESELF_PATH:0:1}" != "/" ]; then + NETDATA_MAKESELF_PATH="$(pwd)/${NETDATA_MAKESELF_PATH}" + export NETDATA_MAKESELF_PATH fi # netdata source directory @@ -30,12 +30,12 @@ export NULL= cd "${NETDATA_MAKESELF_PATH}" || exit 1 +# shellcheck source=packaging/makeself/functions.sh . ./functions.sh "${@}" || exit 1 -for x in jobs/*.install.sh -do - progress "running ${x}" - "${x}" "${NETDATA_INSTALL_PATH}" +for x in jobs/*.install.sh; do + progress "running ${x}" + "${x}" "${NETDATA_INSTALL_PATH}" done echo >&2 "All jobs for static packaging done successfully." |