Skip to content

core: add host-gzip for cvs/git/svn backends

Yann E. MORIN buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4core/download: drop the SSH commandConfig.in package/pkg-download.mk+0 -51 reply
2/4support/dependencies: treat BSD-tar like the other casessupport/dependencies/check-host-tar.sh+5 -40 replies
3/4package/gzip: add host variantpackage/gzip/gzip.mk+2 -00 replies
4/4support/dependencies: add a check for a suitable gzippackage/pkg-generic.mk support/dependencies/check-host-gzip.mk support/dependencies/check-host-gzip.sh+27 -11 reply
4/4support/dependencies: add a check for a suitable gzip+0 -02 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [Buildroot] [PATCH 0/4 v2] core: add host-gzip for cvs/git/svn backends

Hello All!

As reported a few times already, gzip on some systems is aliased to pigz, a parallel implementation of gzip that takes advantage of multi-{processor,core,thread} systems to compress in parallel.

However, the compressed streams generated by pigz, even though they are valid gzip streams, differ for the streams generated by gzip. In fact, this is caused by pigz adding more checksums than is done by gzip, and because the streams are arbitrarily cut in blocks, the coder starts in different conditions for each blocks.

So, add a host variant to gzip, and use that as a download dependency for packages that need to create compressed tarballs (cvs, git, and svn).

While at it, do two seemingly unrelated cleanups: both where noticed while investigating how to do the last patch (i.e. the questions were:
How do we handle tar so I just copy that? -> noticed the tar comments. Then, should I export GZIP? If so, where? -> noticed SSH.)

Regards,
Yann E. MORIN.

The following changes since commit 915c136c5c9abeb683b59fad4a0e05a25c1a1cc2

package/openocd: add missing host-pkgconf dependency (2018-11-16 23:28:50 +0100)

are available in the git repository at:

git://git.buildroot.org/~ymorin/git/buildroot.git

for you to fetch changes up to ba548d03f79279b7f02605006a709ffc630e8639

support/dependencies: add a check for a suitable gzip (2018-11-17 18:12:51 +0100)

----------------------------------------------------------------
Yann E. MORIN (4):
core/download: drop the SSH command support/dependencies: treat BSD-tar like the other cases package/gzip: add host variant support/dependencies: add a check for a suitable gzip

 Config.in                               |  4 ----
 package/gzip/gzip.mk                    |  2 ++
 package/pkg-download.mk                 |  1 -
 package/pkg-generic.mk                  |  4 +++-
 support/dependencies/check-host-gzip.mk |  3 +++
 support/dependencies/check-host-gzip.sh | 21 +++++++++++++++++++++
 support/dependencies/check-host-tar.sh  |  9 +++++----
 7 files changed, 34 insertions(+), 10 deletions(-)
 create mode 100644 support/dependencies/check-host-gzip.mk
 create mode 100755 support/dependencies/check-host-gzip.sh
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'