Sfoglia il codice sorgente

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

Maximilian Luz 2 anni fa
parent
commit
94ae305270
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  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