[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpm hashes



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

Attachment: signature.asc
Description: This is a digitally signed message part


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]