Skip to content

Commit 3a9994e

Browse files
authored
Merge pull request #588 from thaJeztah/disable_zstd_compression
[master] deb: force dpkg-build to use xz compression instead of zstd
2 parents 7b5f45e + 0f4c193 commit 3a9994e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

deb/common/rules

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
VERSION ?= $(shell cat engine/VERSION)
44
TARGET_ARCH = $(shell dpkg-architecture -qDEB_TARGET_ARCH)
55

6+
# force packages to be built with xz compression, as Ubuntu 21.10 and up use
7+
# zstd compression, which is non-standard, and breaks 'dpkg-sig --verify'
8+
override_dh_builddeb:
9+
dh_builddeb -- -Zxz
10+
611
override_dh_auto_build:
712
# Build the daemon and dependencies
813
cd engine && DOCKER_GITCOMMIT=$(ENGINE_GITCOMMIT) PRODUCT=docker ./hack/make.sh dynbinary

0 commit comments

Comments
 (0)