[Yum] usage of /etc/yum.d directory

Grigory Bakunov black at asplinux.ru
Wed Oct 22 14:36:52 UTC 2003


seth vidal wrote:

>On Wed, 2003-10-22 at 09:40, Grigory Bakunov wrote:
>  
>
>>I create another patch which help to use directory with files
>>like /etc/xinet.d etc. (bugzilla ticket #133, 
>>https://devel.linux.duke.edu/bugzilla/show_bug.cgi?id=133)
>>In short words it's use 'include' command in CVS version of yum and add
>>new url scheme 'directory://' (i use include=directory:///etc/yum.d ).
>>YUM include all files which have exention '.yum' in given directory.
>>
>>    
>>
>
>follow bug #62 - I think I made a recommendation there of how it would
>be better implemented.
>
>I do not want to add config options AFTER parsing of the config file is
>done.
>  
>
I don't understand something.
Now i use this scheme:
--- /etc/yum.conf ----
[main]
cachedir=/var/cache/yum
logfile=/var/log/yum.log
pkgpolicy=newest
tolerant=1
exactarch=1
include=directory:///etc/yum.d
----- /etc/yum.d/ASP9.yum ---
[ASP9]
name=ASPLinux Mirror
baseurl=file:///opt/repositories/ASP9
gpgcheck=1

----- /etc/yum.d/Fedora.yum ---
[FedoraCore]
name=Fedora Core beta
baseurl=file:///opt/repositories/Fedora
gpgcheck=0
---------------------
What i need to do is add new parameter (use=xxx)?
Or i miss something?

-- 
..............................................................
IRC: irc.freenode.net #asplinux                Grigory Bakunov
ICQ: 51369901                        ASPLinux Development Team
Life would be so much easier if
                        we could just look at the source code.





More information about the Yum mailing list