[Yum] Repodata question

seth vidal skvidal at phy.duke.edu
Fri Dec 17 16:00:24 UTC 2004


> </data>
> 
> Now if I do a sha1sum of primary.xml.gz I get this:
> 
> wume4:~/btyum/rsync/i386/repodata% sha1sum primary.xml.gz
> af43b5994495060dd222f6a56684194742c54d78  primary.xml.g
> 
> Which matches the first checksum number. I was wondering how the second 
> is generated? A google search for "open checksum" just brings up repo 
> files :).
> 
> I am making changes to the primary.xml file and I need to be able to 
> update the repomd.xml file. My application is in Python, so pointing to 
> code examples would be awesome.
> 
> 

decompress the xml.gz file and take the checksum

that's the 'open' checksum.

-sv





More information about the Yum mailing list