Re: -s/--checksum deprecated

James Antill <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Organization Fedora
Message-ID <[email protected]>
On Sat, 2009-04-18 at 11:56 +0300, Axel Thimm wrote:

> It works with '-s sha1', thanks! I checked it with RHEL5 clients,
> e.g. yum-3.2.19-18.el5.
> 
> It bails out in yum/misc.py when using '-s sha' (which yum maps
> internally onto sha1).

 Yum does the mapping for misc.checksum(), which is what the package
hash checking uses, because as you say it is part of the metadata std.
that sha == sha1.
 But do we really want to spread this around? Why do you want to use it?

-- 
James Antill - [email protected]
"I'd just like to see a realistic approach to updates via
 packages." -- Les Mikesell
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.