yum-presto not on by default

Michael Schroeder mls at suse.de
Wed Sep 23 08:53:02 UTC 2009


On Wed, Sep 23, 2009 at 10:51:00AM +0200, Michal Schmidt wrote:
> Dne Wed, 23 Sep 2009 07:04:23 +0300 Jonathan Dieter napsal(a):
> > https://bugzilla.redhat.com/show_bug.cgi?id=524720
> > https://bugzilla.redhat.com/show_bug.cgi?id=524982
> > 
> > ...
> > 
> > The second one has to do with the fact that when rebuilding the rpms,
> > we have to recompress the data, and xz compression is over 10x slower
> > than gzip.
> 
> Do I understand it right that yum-presto compresses the data and then
> passes them to rpm which decompresses them back again?
> Why? Is it because it's currently the only way to verify
> checksums/signatures?

Yes, exactly. If you want to support uncompressed rpms, you'll
have to put the checksum of the uncompressed rpm in the metadata.
The deltarpm changes are quite easy, it just has to remove all
signatures from the rpm header.

Cheers,
  Michael.

-- 
Michael Schroeder                                   mls at suse.de
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}




More information about the devel mailing list