summaryrefslogtreecommitdiff
path: root/scripts/package
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2020-01-14 19:11:26 +0100
committerMasahiro Yamada <masahiroy@kernel.org>2020-01-22 00:56:48 +0900
commit1a7f0a34ea7d05d1ffcd32c9b1b4e07ac0687538 (patch)
tree26049fbaf7d41013977b12f623b86e76cf824bb8 /scripts/package
parent9c9aa8fdf306cd7329e0a68bbcbe2f71b397dac1 (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/package')
-rwxr-xr-xscripts/package/builddeb2
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