build: explicitly force .xz compression (old debuild picks gzip) (#19118)

This commit is contained in:
Péter Szilágyi 2019-02-18 12:12:26 +02:00 committed by GitHub
parent 75a931470e
commit c0b9c763bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -507,7 +507,7 @@ func doDebianSource(cmdline []string) {
for _, distro := range debDistros {
meta := newDebMetadata(distro, *signer, env, now, pkg.Name, pkg.Version, pkg.Executables)
pkgdir := stageDebianSource(*workdir, meta)
debuild := exec.Command("debuild", "-S", "-sa", "-us", "-uc", "-d")
debuild := exec.Command("debuild", "-S", "-sa", "-us", "-uc", "-d", "-Zxz")
debuild.Dir = pkgdir
build.MustRun(debuild)