RPM Community Forums

Mailing List Message of <rpm-devel>

Re: Two limitations of triggers in rpm

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 22 Sep 2008 - 17:45:12 CEST
Message-id: <574FF00C-BEC4-4B20-8271-74CE6855FC53@mac.com>

On Sep 21, 2008, at 11:12 PM, Jeff Johnson wrote:

>
> There's false trigger firing(s) if a package contains multiple  
> triggers and any
> trigger matches because of this comparison in lib/psm.c:
>
>         /* XXX Trigger on any provided dependency, not just the  
> package NEVR. */
>         if (!rpmdsAnyMatchesDep(sourceH, trigger, 1))
>             continue;
>

What I was seeing as "false firing" turns out to be from installing  
the wrong package
in my test script.

On to firing triggers on file and directory paths next ...

73 de Jeff
Received on Mon Sep 22 17:45:53 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.