[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [PATCH] yum: make transaction results available to plugins
- From: "Xavier Toth" <txtoth gmail com>
- To: "Development discussions related to Fedora" <fedora-devel-list redhat com>
- Subject: Re: [PATCH] yum: make transaction results available to plugins
- Date: Tue, 2 Sep 2008 08:42:49 -0500
On Mon, Sep 1, 2008 at 1:20 PM, Tim Lauridsen
<tim lauridsen googlemail com> wrote:
> Xavier Toth wrote:
>>
>> I have a number of rpms that install SELinux policy modules during the
>> post install and I want yum to exit if there is any problem. I've
>> written a plugin with a posttrans method that examines the result and
>> exits if there was any problem. If there is another way to do this I'd
>> be happy to hear about it.
>>
>
> def postresolve_hook(conduit):
> txmbrs = conduit.getTsInfo().getMembers()
> # Do your actions on txmbrs
>
>
> This shoud give you the result of the transaction after depsolve.
>
> Tim
>
> --
> fedora-devel-list mailing list
> fedora-devel-list redhat com
> https://www.redhat.com/mailman/listinfo/fedora-devel-list
>
The post install script has not been run at this point so this does
not address the issue I have.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]