Optimizing kernel-devel

Rudi Chiarito nutello at sweetness.com
Sat May 13 17:27:45 UTC 2006


On Sat, May 13, 2006 at 01:20:02PM -0400, Sam Varshavchik wrote:
> The Perl script to reconcile the .md5 files, and create the hard links, is 
> laughably trivial.

Can you run rpmquery in a postinstall script, without causing deadlocks?
If so, there's no need for the .md5 files, since RPM is already
computing the checksums once:

rpmquery kernel-devel-2.x.y-z --qf '[%{FILEMD5S} %{FILENAMES}\n]' | grep ^[0-9a-f]

-- 
Rudi




More information about the fedora-devel-list mailing list