[CentOS] Understanding RPM trigger scripts?
James Pearson
james-p at moving-picture.com
Wed Jul 10 12:36:37 UTC 2013
Denniston, Todd A CIV NAVSURFWARCENDIV Crane wrote:
> While looking into doing similar things a few years ago I ran across the
> following PDF.
> It has several pages on doing triggers, and looked promising to help my
> understanding, I just got pulled onto a different project before getting
> to test out the ideas.
> I think page 25 would be of interest to you.
>
> http://www.redhat.com/promo/summit/2010/presentations/summit/opensource-
> for-it-leaders/thurs/pwaterma-2-rpm/RPM-ifying-System-Configurations.pdf
>
> I hope this pointer to info helps.
Thanks - but it doesn't really give any more info that isn't elsewhere
on the Web e.g. it doesn't give any clues on how to check if the trigger
script is being run by the RPM containing the trigger script or by the
triggering RPM
After several hours of installing, upgrading, removing, etc (in various
combinations) test trigger and triggering RPMS, I think I've now got
something that I can work with - it's a bit messy, but it will now work
in a predictable fashion
Thanks
James Pearson
More information about the CentOS
mailing list