EDGEPLAT-2958 remove deb-compression, defaulting to gzip
dpkg does not support bzip2 compression, so fails to unpack and install the built package. By omitting the option, fpm defaults to gzip which is the default supported option by dpkg. Signed-off-by: Joe Groocock <jgroocock@cloudflare.com>
This commit is contained in:
parent
a08a7030d1
commit
78cb60b85f
2
Makefile
2
Makefile
|
@ -105,7 +105,7 @@ define build_package
|
||||||
mkdir -p $(PACKAGE_DIR)
|
mkdir -p $(PACKAGE_DIR)
|
||||||
cp cloudflared $(PACKAGE_DIR)/cloudflared
|
cp cloudflared $(PACKAGE_DIR)/cloudflared
|
||||||
cat cloudflared_man_template | sed -e 's/\$${VERSION}/$(VERSION)/; s/\$${DATE}/$(DATE)/' > $(PACKAGE_DIR)/cloudflared.1
|
cat cloudflared_man_template | sed -e 's/\$${VERSION}/$(VERSION)/; s/\$${DATE}/$(DATE)/' > $(PACKAGE_DIR)/cloudflared.1
|
||||||
fakeroot fpm -C $(PACKAGE_DIR) -s dir -t $(1) --$(1)-compression bzip2 \
|
fakeroot fpm -C $(PACKAGE_DIR) -s dir -t $(1) \
|
||||||
--description 'Cloudflare Argo tunnel daemon' \
|
--description 'Cloudflare Argo tunnel daemon' \
|
||||||
--vendor 'Cloudflare' \
|
--vendor 'Cloudflare' \
|
||||||
--license 'Cloudflare Service Agreement' \
|
--license 'Cloudflare Service Agreement' \
|
||||||
|
|
Loading…
Reference in New Issue