primary.xml.gz 'file' questions
Joe Damato <[email protected]> Sun, 1 Dec 2013 19:33:38 -0500
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <CADk91pMj25=wJuUvSQ+mu5=hEC8YHN1hPWjMBmHAbgKOaTo0Bg@mail.gmail.com> |
Hi -
I've been digging around in createrepo and I've noticed that
createrepo generates a primary.xml.gz file with several "files" tags.
The files and directories that end up in primary.xml.gz seem to be a
subset of the files and directories found in filelists.xml.gz.
For example, from:
ftp://rpmfind.net/linux/opensuse/factory/repo/oss/suse/x86_64/strace-4.8-4.3.x86_64.rpm
I get a primary.xml.gz with this:
<file>/usr/bin/strace-graph</file>
<file>/usr/bin/strace</file>
<file>/usr/bin/strace-log-merge</file>
Where as filelists.xml.gz contains the files listed above and more.
Is there a reason why certain files and directories appear in both
xml.gz's and some just appear in filelists.xml.gz?
Is there a special set of RPM attributes (from
http://rpm.org/api/4.11.1/rpmfi_8h.html possibly?) that I could
examine to determine whether a file/directory should appear in
primary.xml.gz ?
Thanks,
Joe