浏览代码

pkg/debian: Enforce XZ compression for meta packages by overriding debian/rules

Maximilian Luz 2 年之前
父节点
当前提交
94ae305270
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      pkg/debian/meta/mkdebian.sh

+ 5 - 0
pkg/debian/meta/mkdebian.sh

@@ -60,6 +60,11 @@ cat <<EOF > "debian/rules"
 #!/usr/bin/make -f
 export DH_VERBOSE = 1
 
+# The DPKG in Ubuntu 22.04 defaults to using ZSTD, which is not yet supported
+# by the DPKG in Debian 11
+override_dh_builddeb:
+	dh_builddeb -- -Zxz
+
 %:
 	dh \$@
 EOF