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.10.7~3322^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1a7f0a34ea7d05d1ffcd32c9b1b4e07ac0687538;p=platform%2Fkernel%2Flinux-rpi.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 b603880..f903ba9 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