* [PATCH v2] builddeb: allow selection of .deb compressor
@ 2020-01-14 18:11 Michał Mirosław
2020-01-21 15:53 ` Masahiro Yamada
0 siblings, 1 reply; 2+ messages in thread
From: Michał Mirosław @ 2020-01-14 18:11 UTC (permalink / raw)
To: Masahiro Yamada, Michal Marek, Ben Hutchings, Riku Voipio
Cc: linux-kbuild, linux-kernel
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>
---
v2: rename KPKG_COMPRESS to KDEB_COMPRESS as suggested by Masahiro Yamada
---
scripts/package/builddeb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/package/builddeb b/scripts/package/builddeb
index c4c580f547ef..b68aaeece7c9 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
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v2] builddeb: allow selection of .deb compressor
2020-01-14 18:11 [PATCH v2] builddeb: allow selection of .deb compressor Michał Mirosław
@ 2020-01-21 15:53 ` Masahiro Yamada
0 siblings, 0 replies; 2+ messages in thread
From: Masahiro Yamada @ 2020-01-21 15:53 UTC (permalink / raw)
To: Michał Mirosław
Cc: Michal Marek, Ben Hutchings, Riku Voipio,
Linux Kbuild mailing list, Linux Kernel Mailing List
On Wed, Jan 15, 2020 at 3:11 AM Michał Mirosław <mirq-linux@rere.qmqm.pl> wrote:
>
> 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>
> ---
Applied to linux-kbuild.
Thanks.
> v2: rename KPKG_COMPRESS to KDEB_COMPRESS as suggested by Masahiro Yamada
> ---
> scripts/package/builddeb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/package/builddeb b/scripts/package/builddeb
> index c4c580f547ef..b68aaeece7c9 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
> --
> 2.20.1
>
--
Best Regards
Masahiro Yamada
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-21 15:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-14 18:11 [PATCH v2] builddeb: allow selection of .deb compressor Michał Mirosław
2020-01-21 15:53 ` Masahiro Yamada
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).