summaryrefslogtreecommitdiff
path: root/dh_builddeb
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2012-05-13 13:09:39 -0400
committerJoey Hess <joey@kitenet.net>2012-05-13 13:09:39 -0400
commitd1838819356838365e623dee0d53ce8d3da1186d (patch)
tree30f7fe65365aad0b36f4cb04f8d36bd6baf55620 /dh_builddeb
parentb312dcc7db36597a1b8624980dce8f958c2399f1 (diff)
dh_builddeb: Build udebs with xz compression, level 1, extreme strategy.
* dh_builddeb: Build udebs with xz compression, level 1, extreme strategy. This has been chosen to not need any more memory or cpu when uncompressing, while yeilding the best compressions for udebs. Thanks, Philipp Kern. * Depend on a new enough dpkg for above features. Backporters will need to revert these changes.
Diffstat (limited to 'dh_builddeb')
-rwxr-xr-xdh_builddeb3
1 files changed, 2 insertions, 1 deletions
diff --git a/dh_builddeb b/dh_builddeb
index 77da898f..aa11c325 100755
--- a/dh_builddeb
+++ b/dh_builddeb
@@ -109,7 +109,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
if (! $filename) {
$filename="/".udeb_filename($package);
}
- doit("dpkg-deb", @{$dh{U_PARAMS}}, "--build", $tmp, $dh{DESTDIR}.$filename);
+ doit("dpkg-deb", "-z1", "-Zxz", "-Sextreme",
+ @{$dh{U_PARAMS}}, "--build", $tmp, $dh{DESTDIR}.$filename);
}
exit 0;
}