Module: check_mk
Branch: master
Commit: de1142ffbc8311aec36ca237062e5823ac5869a5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=de1142ffbc8311…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed May 23 19:54:33 2018 +0200
Fixed building vanilla agent debs on bionic
Change-Id: I5fad83c14b08013f17e42075c766c272795f7869
---
agents/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/agents/Makefile b/agents/Makefile
index 6079d69..608ac7c 100644
--- a/agents/Makefile
+++ b/agents/Makefile
@@ -113,12 +113,12 @@ deb $(DEB_PACKAGE): $(RPM_PACKAGE)
cd deb-unpack && \
ar x ../$$DEB_PKG && \
mkdir ctrl && \
- tar xzf control.tar.gz -C ctrl && \
+ tar xJf control.tar.xz -C ctrl && \
sed -i -e '/^Depends:/d' \
-e 's/^Version:.*/Version: $(VERSION)-1/' \
-e 's/^Maintainer:.*/Maintainer: feedback(a)check-mk.org/' ctrl/control
&& \
- tar czf control.tar.gz $(TAROPTS) -C ctrl . && \
- ar r ../$(DEB_PACKAGE) debian-binary control.tar.gz data.tar.*
+ tar cJf control.tar.xz $(TAROPTS) -C ctrl . && \
+ ar r ../$(DEB_PACKAGE) debian-binary control.tar.* data.tar.*
rm -rf deb-unpack
clean: