diff options
author | Michał Mirosław | 2020-01-14 19:11:26 +0100 |
---|---|---|
committer | Masahiro Yamada | 2020-01-22 00:56:48 +0900 |
commit | 1a7f0a34ea7d05d1ffcd32c9b1b4e07ac0687538 (patch) | |
tree | 26049fbaf7d41013977b12f623b86e76cf824bb8 /scripts | |
parent | 9c9aa8fdf306cd7329e0a68bbcbe2f71b397dac1 (diff) |
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 <mirq-linux@rere.qmqm.pl>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/package/builddeb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |