Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix the netdata-updater.sh to correctly pass REINSTALL_OPTIONS (final…
…ly) (#8808) * Add support for overriding the URL for installing/updating nightlies * Fix bug with running the makeself archive and importly passing REINSTALL_OPTIONS (not word splitting)
- Loading branch information
Showing
2 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/sh | ||
|
||
BASENAME="netdata-$(git describe)" | ||
|
||
mkdir -p artifacts | ||
|
||
autoreconf -ivf | ||
./configure \ | ||
--prefix=/usr \ | ||
--sysconfdir=/etc \ | ||
--localstatedir=/var \ | ||
--libexecdir=/usr/libexec \ | ||
--with-zlib \ | ||
--with-math \ | ||
--with-user=netdata \ | ||
CFLAGS=-O2 | ||
make dist | ||
mv "${BASENAME}.tar.gz" artifacts/ | ||
|
||
USER="" ./packaging/makeself/build-x86_64-static.sh | ||
|
||
cp packaging/version artifacts/latest-version.txt | ||
|
||
cd artifacts || exit 1 | ||
ln -s "${BASENAME}.tar.gz" netdata-latest.tar.gz | ||
ln -s "${BASENAME}.gz.run" netdata-latest.gz.run | ||
sha256sum -b ./* > "sha256sums.txt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters