createrepo: file-pattern-match and dir-pattern-match?
Christoph Thiel <[email protected]>
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <[email protected]> |
Hi everyone,
createrepo's genpkgmetadata.py has some file-pattern-match and
dir-pattern-match options, that basically make sure to some file and dir
provides to primary.xml. Currently, they default to:
cmds['file-pattern-match'] = ['.*bin\/.*', '^\/etc\/.*','^\/usr\/lib\/sendmail$']
cmds['dir-pattern-match'] = ['.*bin\/.*', '^\/etc\/.*']
To make real use of these file and dir patterns, we would need to somehow
put their values into primary.xml, so that a package manager can decide if
it needs to pull in filelist.xml or not (based on the information that it
has in primary.xml and the requires a certain package might have)?
Thoughts, opinions?
Thanks,
Christoph
--
Christoph Thiel, Tech. Project Management, Research & Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)