mirror of https://github.com/sysown/proxysql
Ubuntu 22/24's dpkg-deb defaults to zstd while Debian 12/13 still defaults to xz, so DEBs produced for the two distros differ in their data.tar compressor. dpkg-sig 0.13 on the release server (dpkg 1.21.1) applies a signature successfully but then reports BADSIG on `dpkg-sig --verify` for the zstd-compressed Ubuntu packages. Repack the DEB with `dpkg-deb -Zxz` after equivs-build whenever the data tarball is not already xz. The check is on data.tar.xz rather than data.tar.zst so any future dpkg-deb default change (lzma, gz, etc.) is also normalized. The SHA1 extraction below the repack is simplified to use unxz unconditionally now that the format is guaranteed. Closes #5580fix/issue-5580-deb-xz-compression
parent
9cc20a8775
commit
8b7b0e0792
Loading…
Reference in new issue