[Yum] Re: [Yum-devel] Dynamic yum respositories?

seth vidal skvidal at linux.duke.edu
Tue Apr 24 19:08:15 UTC 2007


On Tue, 2007-04-24 at 14:00 -0500, Michael E Brown wrote:

> You will run into the same 'yumvars' problem that I have recently
> emailed the mailing list about, though. Hopefully that will be resolved
> soon.

Here is a patch I've put together to fix this in a better way than just
providing a way to set yumvars via a plugin.


http://linux.duke.edu/~skvidal/patches/yum-postconfig-hook.patch

that implements a postconfig hook that will let you set yumvar as well
as anything else in the conf objecting using:
conf = conduit.getConf()
conf.someoption = whatever

how's that look?

Sorry I've been out but my house took precedence over yum :)

-sv





More information about the Yum-devel mailing list