[Yum] Repodata question

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

 



> </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



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux