summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/copyright1
-rwxr-xr-xdebian/rules3
2 files changed, 4 insertions, 0 deletions
diff --git a/debian/copyright b/debian/copyright
index c0a785973..c104047c8 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,6 +3,7 @@ Upstream-Name: Netdata
Upstream-Contact: Netdata, Inc. <info@netdata.cloud>
Source: https://github.com/netdata/netdata
Files-Excluded:
+ packaging/makeself
src/collectors/python.d.plugin/python_modules/pyyaml3
src/collectors/python.d.plugin/python_modules/third_party
src/collectors/python.d.plugin/python_modules/urllib3
diff --git a/debian/rules b/debian/rules
index 54f2b286b..0abdb6256 100755
--- a/debian/rules
+++ b/debian/rules
@@ -109,6 +109,9 @@ upstream:
git clone --recursive https://github.com/netdata/netdata netdata-$(VERSION)+dfsg
cd netdata-$(VERSION)+dfsg && git checkout -f v$(VERSION)
+ # removing files with weird license or license combinations
+ rm -rf netdata-$(VERSION)+dfsg/packaging/makeself
+
# removing embedded python modules
rm -rf netdata-$(VERSION)+dfsg/src/collectors/python.d.plugin/python_modules/pyyaml3
rm -rf netdata-$(VERSION)+dfsg/src/collectors/python.d.plugin/python_modules/third_party