[Rpm-metadata] createrepo changes

seth vidal skvidal at phy.duke.edu
Sat Jan 8 19:44:30 UTC 2005


Hi,
 Two items I wanted to bring mention:
1. createrepo was opening each rpm 3 times for 3 different operations on
the file. I reduced that to 1 time and got a 30% savings in time.
2. Some folks had asked if primary.xml.gz's file listing could include
as a provided file any file that another package depended on that was
not a part of the *bin/* /etc/* /usr/lib/sendmail match. I thought about
this and considered doing it - then a problem occurred:

The packages are added to xml one at a time, not as a single bulk save.
So if you had a package that was indexed first that
included /usr/share/some/file and another package that
required /usr/share/some/file you'd have no way of
including /usr/share/some/file in the provided package list for the
first package.

In short, it would all be based on which order the files were read in,
as.

Any suggestions on how to remedy that?

-sv





More information about the Rpm-metadata mailing list