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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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