Skip to content

use host compressor for rootfs

Thomas De Schampheleire buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/2] use host compressor for rootfs

Philippe Reynes <[email protected]> schreef:

Quoted 7 lines

Hi Baruch,

I've missed this "mandatory dependancy".
I suppose that this dependancy is usefull to uncompress tarball. But I think that the compilation of firmware should be done with tools compiled by buildroot.

Quoted 7 lines

If lzma is used to compress the rootfs, then lzma is compile by builtoot. If gzip is used to compress the rootfs, then we use local gzip. It's not very "coherent".
And using compiled binary with buildroot increase chance to regenerate firmware on (very) different machine.

And I agree with you, it's not a "real" issue, it's more a "nice to have".

The problem is that the build time is increased without good reason.
If there is a problem with a specific version of gzip/bzip2, we could always use the suitable-host-package mechanism as we do for tar. In fact, you could start using it for lzma too and avoid building host-lzma if it's already present...

Best regards,
Thomas