On Tue, Apr 24, 2007 at 03:18:29PM -0400, seth vidal wrote:
> On Tue, 2007-04-24 at 14:07 -0500, Michael E Brown wrote:
> > On Tue, Apr 24, 2007 at 03:08:15PM -0400, seth vidal wrote:
> > > 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
> > 
> > This looks like exactly what I need.
> > 
> > I'll apply this patch locally and double check everything.
> 
> Apply this, instead:
> http://linux.duke.edu/~skvidal/patches/yum-postconfig-hook-2.patch

Exactly what I need. Works like a charm! (Tested against FC6)

I've added a postconfig_hook to my plugin that disables my plugin's
init_hook when it runs. This should ensure that I am backwards
compatible with all older versions of yum.

Would be good if this would eventually make it into any 3.0.7 update for
FC6 as well. :)
--
Michael
_______________________________________________
Yum-devel mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum-devel

Reply via email to