rpm hashes

Adam Jackson ajax at redhat.com
Wed May 13 14:37:19 UTC 2009


On Wed, 2009-05-13 at 09:13 +0300, Panu Matilainen wrote:

> From rpm POV it's perfectly legal for any number of packages to share 
> identical files, and that still works. What doesn't work is sharing files 
> between packages using different file hash algorithm, so if you need to 
> share across Centos >= 3 <-> Fedora >= 11 you need to build the package 
> for lowest common denominator, meaning md5 file hashes. Fedora 11 changes 
> the default algorithm from md5 to sha256 in redhat-rpm-config, producing 
> packages that are incompatible with rpm < 4.6.0 but specs and macro 
> configuration can override that.
> 
> Whether it's against Fedora guidelines is another question, but since this 
> was about a package from a 3rd party repository...

It would have been really, _really_ nice if sha256 was merely another
hash that could be in the payload, instead of forcing you to pick one or
the other.  For that matter, it would still be really really nice.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20090513/eb6a415a/attachment.sig>


More information about the fedora-devel-list mailing list