diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:19:48 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-03-09 13:20:02 +0000 |
commit | 58daab21cd043e1dc37024a7f99b396788372918 (patch) | |
tree | 96771e43bb69f7c1c2b0b4f7374cb74d7866d0cb /packaging/makeself/README.md | |
parent | Releasing debian version 1.43.2-1. (diff) | |
download | netdata-58daab21cd043e1dc37024a7f99b396788372918.tar.xz netdata-58daab21cd043e1dc37024a7f99b396788372918.zip |
Merging upstream version 1.44.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'packaging/makeself/README.md')
-rw-r--r-- | packaging/makeself/README.md | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/packaging/makeself/README.md b/packaging/makeself/README.md index 9219aefc5..1f2c746bf 100644 --- a/packaging/makeself/README.md +++ b/packaging/makeself/README.md @@ -19,13 +19,20 @@ will be used by default for installation. If you want to enforce the usage of a static build and have the installer return a failure if one is not available, you can do so by adding `--static-only` to the options you pass to the installer. +## Requirements + +- Container runtime tool (Docker or Podman) + ## Building a static binary package -To build the static binary 64-bit distribution package, run: +Before you begin, make sure that your repo and the repo's submodules are clean from any previous builds and up to date. +Otherwise, [perform a cleanup](https://github.com/netdata/netdata/blob/master/packaging/installer/methods/manual.md#perform-a-cleanup-in-your-netdata-repo) + + +To build the static binary 64-bit distribution package, into the root folder on the netdata repo, run: ```bash -cd /path/to/netdata.git -./packaging/makeself/build-x86_64-static.sh +./packaging/makeself/build-static.sh x86_64 ``` The program will: @@ -37,13 +44,15 @@ The program will: Once finished, a file named `netdata-vX.X.X-gGITHASH-x86_64-DATE-TIME.run` will be created in the current directory. This is the Netdata binary package that can be run to install Netdata on any other computer. +You can build static binaries for other architectures such as `armv7l`, `aarch64`, and `ppc64le`. + ## Building binaries with debug info To build Netdata binaries with debugging / tracing information in them, use: ```bash cd /path/to/netdata.git -./packaging/makeself/build-x86_64-static.sh debug +./packaging/makeself/build-static.sh x86_64 debug ``` These binaries are not optimized (they are a bit slower), they have certain features disables (like log flood protection), other features enables (like `debug flags`) and are not stripped (the binary files are bigger, since they now include source code tracing information). |