Gentoo Archives: gentoo-dev

From: Piotr Szymaniak <szarpaj@××××××××.pl>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] ship app-arch/pbzip2 instead of app-arch/bzip2
Date: Thu, 27 Sep 2012 09:24:09
Message-Id: 20120927092312.GI28032@wloczykij
In Reply to: Re: [gentoo-dev] ship app-arch/pbzip2 instead of app-arch/bzip2 by Matt Turner
1 On Wed, Sep 26, 2012 at 01:43:27PM -0700, Matt Turner wrote:
2 > On Wed, Sep 26, 2012 at 1:30 PM, Michael Mol <mikemol@×××××.com> wrote:
3 > > A few months ago, I filed bug 423651 to ask that bzip2 on the install
4 > > media be replaced with
5 > > pbzip2. It was closed a short while later, telling me that it'd
6 > > involve changing what's kept in @system, and that had to be discussed
7 > > here, rather than in a bug report.
8 >
9 > If we're going to ship a parallel bzip2 implementation, it should be
10 > lbzip2 and not pbzip2.
11 >
12 > lbzip2 can decompress bz2 archives with multiple threads that haven't
13 > been compressed with lbzip2/pbzip2.
14
15 Afair I'm using PORTAGE_BZIP2_COMMAND with lbzip2 and it works fine.
16 Also some time ago I've changed a bit the (famous?) stage4 backup
17 script from g-wiki to support parallel gz/bz2 implementations (simple
18 check if there pbzip2/lbzip2/foobar installed and if yes, use it instead
19 of normal gzip/bzip2).
20
21 Maybe portage should be like my stage4 mod? If it finds some parallel
22 (de)compressor it should use it, if not fallback to standard gzip/bzip2?
23
24
25 Piotr Szymaniak.
26 --
27 - Jeden hamburger na dziesiec ci zaszkodzi. Jeden moj stary przyjaciel
28 to sprawdzil. Zjadal dziewiec hamburgerow i byl idealnie zdrowy, a gdy
29 probowal zjesc dziesiatego, z miejsca dostawal torsji.
30 -- Graham Masterton, "Night Warriors"

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] ship app-arch/pbzip2 instead of app-arch/bzip2 "Rick \\\"Zero_Chaos\\\" Farina" <zerochaos@g.o>