Re: adding different compression types to createrepo

Anders F Björklund <[email protected]> Wed, 4 Aug 2010 12:37:58 +0200
Newsgroups gmane.linux.rpm.metadata
Message-ID <[email protected]>
Duncan Mac-Vicar P. wrote:

>> openSUSE actually uses LZMA, not XZ. Both for RPMS and for repodata.
>
> No. We use lzma for rpm. Repositories use gz.

The createrepo patch I saw (optionally) used .lzma rather than .xz.
Either LZMA format would leave the .gz too, for compatibility reasons.

But if the repodata uses xz, and you pipe it off to lzmadec there's
a problem. Using xzdec (or unxz) should uncompress both automatically.

--anders