On Thu, Feb 28, 2013 at 11:10 PM, Guy Streeter <streeter(a)redhat.com> wrote:
I've searched but have not found any packaging documentation or
discussion about policy files for applications.
I don't think there's more than the "Declaring actions" part of
Should a package just install
it's .policy files in /usr/share/polkit-1/actions? Is there an rpm macro for
Just hard-code the directory name; if the directory name ever
the format of the .policy files would very likely change as well, so
adding a macro wouldn't save any work.
And what about naming them? Besides ending in .policy and making a
reference to the package and action, is there a recommendation or requirement?
can't find official documentation; I'd suggest that using the same
format as most other files do.