@cryptotaxi247 / netdata-1 / commits / f2e1b090f

netdata/packaging: [ci skip] Correlate configure command (#6678)

Overriding as i will be closely monitoring the results

Paul Emm. Katsoulakis committed Aug 16, 2019 at 11:31 UTC f2e1b090fd565392e2c482bb56290357687df44e
3 files changed +3 -3
.travis/create_artifacts.sh
+1 -1
@@ -40,7 +40,7 @@ BASENAME="netdata-$(git describe)"
40 python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);'
41 echo "--- Create tarball ---"
42 autoreconf -ivf
43 -./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-zlib --with-math --with-user=netdata CFLAGS=-O2
43 +./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/libexec --with-zlib --with-math --with-user=netdata CFLAGS=-O2
44 make dist
45 mv "${BASENAME}.tar.gz" artifacts/
46
.travis/package_management/common.py
+1 -1
@@ -146,7 +146,7 @@ def prepare_version_source(dest_archive, pkg_friendly_version, tag=None):
146 run_command_in_host(['autoreconf', '-ivf'])
147
148 print(".4 Run configure")
149 - run_command_in_host(['./configure', '--with-math', '--with-zlib', '--with-user=netdata'])
149 + run_command_in_host(['./configure', '--prefix=/usr', '--sysconfdir=/etc', '--localstatedir=/var', '--libexecdir=/usr/libexec', '--with-math', '--with-zlib', '--with-user=netdata'])
150
151 print(".5 Run make dist")
152 run_command_in_host(['make', 'dist'])
contrib/debian/rules
+1 -1
@@ -19,7 +19,7 @@ TOP = $(CURDIR)/debian/netdata
19 override_dh_auto_configure:
20 autoreconf -ivf
21 dh_auto_configure -- --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
22 - --libexecdir=/usr/libexec --with-user=netdata --with-math --with-webdir=/var/lib/netdata/www
22 + --libexecdir=/usr/libexec --with-user=netdata --with-math --with-zlib --with-webdir=/var/lib/netdata/www
23
24 debian/%.postinst: debian/%.postinst.in
25 sed 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g' $< > $@