Skip to content

Commit 1a7f0a3

Browse files
osctobemasahir0y
authored andcommitted
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 <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent 9c9aa8f commit 1a7f0a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/package/builddeb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ create_package() {
4343

4444
# Create the package
4545
dpkg-gencontrol -p$pname -P"$pdir"
46-
dpkg --build "$pdir" ..
46+
dpkg-deb ${KDEB_COMPRESS:+-Z$KDEB_COMPRESS} --build "$pdir" ..
4747
}
4848

4949
version=$KERNELRELEASE

0 commit comments

Comments
 (0)