Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1345774

Re: [PATCH] lz4c: shut up lz4c output

From Michal Marek <mmarek@suse.com>
Newsgroups linux.kernel
Subject Re: [PATCH] lz4c: shut up lz4c output
Date 2016-02-29 14:00 +0100
Message-ID <r7vAD-38v-27@gated-at.bofh.it> (permalink)
References <r7vqW-345-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2016-02-29 13:40, Arnd Bergmann wrote:
> When KERNEL_LZ4 is set, we always get an output even when building
> with 'make -s':
> 
>     *** LZ4 Compression CLI , by Yann Collet (May 31 2013) ***
>     ! Generating compressed LZ4 using Legacy format (deprecated !) !
>     Using stdin for input
>     Using stdout for output
>     Compressed 11213376 bytes into 4555781 bytes ==> 40.63%
>     Done in 0.63 s ==> 16.97 MB/s
> 
> The output is not helpful in the context of building the kernel,
> so this patch hides the stdout output of the lz4 binary completely.

> -	lz4c -l -c1 stdin stdout && $(call size_append, $(filter-out FORCE,$^))) > $@ || \
> +	lz4c -l -c1 stdin stdout && $(call size_append, $(filter-out FORCE,$^))) > $@ 2>&1 || \
>  	(rm -f $@ ; false)

Hi Arnd,

this redirection does not hide it, but rather includes it in the
compressed image file.

BTW, my copy of lz4c only displays this warning with -v.

Michal

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] lz4c: shut up lz4c output Arnd Bergmann <arnd@arndb.de> - 2016-02-29 13:50 +0100
  Re: [PATCH] lz4c: shut up lz4c output Michal Marek <mmarek@suse.com> - 2016-02-29 14:00 +0100
    Re: [PATCH] lz4c: shut up lz4c output Arnd Bergmann <arnd@arndb.de> - 2016-02-29 15:40 +0100

csiph-web