summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-12 12:24:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-12 12:29:31 +0000
commit268ebebb87fcfb87900c65d7f43f5d03d276f763 (patch)
treedfd4303927ac84b7f91940dd9a7c2786f469a915
parentWrap and sorting debian files. (diff)
downloadnetdata-268ebebb87fcfb87900c65d7f43f5d03d276f763.tar.xz
netdata-268ebebb87fcfb87900c65d7f43f5d03d276f763.zip
Copying system directory to temporary build-tree too to fix FTBFS.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org> Updating. Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/rules7
1 files changed, 3 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules
index ce58a068e..1926d0cb4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -59,7 +59,7 @@ override_dh_auto_configure:
--enable-plugin-cups \
--enable-plugin-nfacct \
--with-math
- cp -a mqtt_websockets tests build-core
+ cp -a mqtt_websockets system tests build-core
cp -a web/gui/src build-core/web/gui
ifeq (netdata-core-no-sse,$(findstring netdata-core-no-sse,$(PACKAGES)))
@@ -73,7 +73,7 @@ ifeq (netdata-core-no-sse,$(findstring netdata-core-no-sse,$(PACKAGES)))
--enable-plugin-cups \
--enable-plugin-nfacct \
--with-math
- cp -a mqtt_websockets tests build-core-no-sse
+ cp -a mqtt_websockets system tests build-core-no-sse
cp -a web/gui/src build-core-no-sse/web/gui
endif
@@ -90,8 +90,7 @@ override_dh_auto_install:
# Removing unused files
rm -f debian/tmp/etc/netdata/.install-type
rm -f debian/tmp/usr/lib/netdata/install-service.sh
- rm -f debian/tmp/usr/lib/netdata/system/netdata*
- rmdir debian/tmp/usr/lib/netdata/system
+ rm -rf debian/tmp/usr/lib/netdata/system
# Building without aws kinesis backend (needs aws sdk)
rm -f debian/tmp/usr/lib/netdata/conf.d/aws_kinesis.conf