From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 0/4 v2] core: add host-gzip for cvs/git/svn backends
Date: Sat, 17 Nov 2018 18:15:47 +0100 [thread overview]
Message-ID: <cover.1542474939.git.yann.morin.1998@free.fr> (raw)
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
--
.-----------------.--------------------.------------------.--------------------.
| 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. |
'------------------------------^-------^------------------^--------------------'
next reply other threads:[~2018-11-17 17:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-17 17:15 Yann E. MORIN [this message]
2018-11-17 17:15 ` [Buildroot] [PATCH 1/4 v2] core/download: drop the SSH command Yann E. MORIN
2018-11-19 21:11 ` Thomas Petazzoni
2018-11-17 17:15 ` [Buildroot] [PATCH 2/4 v2] support/dependencies: treat BSD-tar like the other cases Yann E. MORIN
2018-11-17 17:15 ` [Buildroot] [PATCH 3/4 v2] package/gzip: add host variant Yann E. MORIN
2018-11-17 17:15 ` [Buildroot] [PATCH 4/4 v2] support/dependencies: add a check for a suitable gzip Yann E. MORIN
2018-11-17 17:23 ` Matthew Weber
2018-11-18 13:44 ` Yann E. MORIN
2018-11-18 14:41 ` Matthew Weber
2018-11-25 8:21 ` Peter Korsgaard
2018-11-24 14:46 ` [Buildroot] [PATCH 0/4 v2] core: add host-gzip for cvs/git/svn backends Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1542474939.git.yann.morin.1998@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox