[Rpm-maint] rpm plugins

Mimi Zohar zohar at linux.vnet.ibm.com
Wed Dec 18 18:55:59 UTC 2013


Hi Panu,

I'm interested in using the new plugin architecture for adding
'security.ima'
extended attributes.  So far, I've cloned the rpm git repo, compiled and
installed it, with plugins enabled.  For the time being, I've written a
test plugin.  I would have thought that the test plugin would be called,
when installing an rpm, but it doesn't seem to be.

I've added prints to rpmpluginsCallFsmFilePre() and
rpmpluginsCallFsmFilePost()
that revealed plugins->count is 0.  How do I register the plugin?  Do I
need to add something to the spec file?  Any help would be much
appreciated!

thanks,

Mimi



More information about the Rpm-maint mailing list