Commit 1a7f0a34 authored by Michał Mirosław's avatar Michał Mirosław Committed by Masahiro Yamada

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: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 9c9aa8fd
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment