[Buildroot] [PATCH 1/4] fs/common.mk: support lz4 compression

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jan 8 22:46:31 UTC 2018


Hello,

On Fri, 13 Oct 2017 21:16:52 +0200, Peter Korsgaard wrote:
> Similar to the other compressors.  Notice that we use the -l (legacy format)
> for Linux kernel initrd compatibility.
> 
> Lz4 decompression is supported by the Linux kernel since 3.11.
> 
> Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
> ---
>  fs/common.mk | 5 +++++
>  1 file changed, 5 insertions(+)

I've applied the series. I'm also not super convinced we need to
support all those compression options, but we already have plenty of
them, and Peter is just adding one more, which doesn't make the whole
thing much more complicated.

We can continue the discussion on whether we want to keep this or not,
especially in light of http://patchwork.ozlabs.org/patch/850055/ that
proposes to allow compressing the sdcard.img generated by genimage.

If we allow compression rootfs.tar, why not sdcard.img ?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list