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