Re: src_dirs config file option
Hunter Matthews <[email protected]>
| Newsgroups | gmane.network.up2date.current.devel |
|---|---|
| Message-ID | <1019935727.1700.548.camel@kea> |
It should work exactly as you've done it. However, John and I don't use that feature at our sites, so you've just run into a "hmm. we've never tested that" bug. Let me see if I can come up with a patch today or tomorrow. On Fri, 2002-04-26 at 21:36, David Ritchey wrote: > If I add a directory to src_dirs of a channel definition, then try to create > the channel with 'cadmin create redhat-linux-i386-7.2', I get the following > traceback: > > Traceback (innermost last): > File "/usr/sbin/cadmin", line 203, in ? > main() > File "/usr/sbin/cadmin", line 101, in main > chan['db_dir'], chan['rpm_dirs'], chan['src_dirs']) > File "/usr/share/current/channel.py", line 117, in create > self._addSrcDir(dir) > File "/usr/share/current/channel.py", line 780, in _addSrcDir > (hdr, isSource) = self.getHeaderFromFilename(pathname) > AttributeError: getHeaderFromFilename > > I've verified that the src_dirs value I added exists. If I remove the value, > and leave it null, it works fine. Is this option for future use, perhaps to > take advantage of the up2date --src option, or did I do something wrong? > > Thanks! > > -- > David Ritchey > [email protected] > > _______________________________________________ > Current-server mailing list > [email protected] > http://lists.dulug.duke.edu/mailman/listinfo/current-server > > -- Hunter Matthews Unix / Network Administrator Office: BioScience 145/244 Duke Univ. Biology Department Key: F0F88438 / FFB5 34C0 B350 99A4 BB02 9779 A5DB 8B09 F0F8 8438 Never take candy from strangers. Especially on the internet.