From: Michał Mirosław Date: Tue, 14 Jan 2020 18:11:26 +0000 (+0100) Subject: builddeb: allow selection of .deb compressor X-Git-Tag: v5.6-rc1~90^2~8 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=1a7f0a34ea7d;p=linux-block.git builddeb: allow selection of .deb compressor Select deb compression using KDEB_COMPRESS make variable. This allows to use gzip compression for local or test builds, and that's way faster than now-default xz compression. Signed-off-by: Michał Mirosław Signed-off-by: Masahiro Yamada --- diff --git a/scripts/package/builddeb b/scripts/package/builddeb index b60388051c7f..f903ba947daf 100755 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb @@ -43,7 +43,7 @@ create_package() { # Create the package dpkg-gencontrol -p$pname -P"$pdir" - dpkg --build "$pdir" .. + dpkg-deb ${KDEB_COMPRESS:+-Z$KDEB_COMPRESS} --build "$pdir" .. } version=$KERNELRELEASE