On Tue, Nov 24, 2015 at 03:04:42PM +0100, Jakub Hrozek wrote:
> On Tue, Nov 24, 2015 at 02:11:10PM +0100, Lukas Slebodnik wrote:
> > C) or directly test for "/usr/share/polkit-1/rules.d"
> >    but it could be overrriden with configure argument as other paths
> >    e.g. --with-init-dir (default /etc/rc.d/init.d)
> >         --with-environment-file (default /etc/sysconfig/sssd)
> 
> I like this one the most. If there is no portable way of autodetecting
> the directory, we should just add another configure-time option or even
> just cp the file during RPM build and not install it from Makefile.am
> 
> Ideally polkit would expose the rules directory via some pkgconfig file,
> but in the absence of it, we shouldn't probably try to be too smart.
> 
> Sumit, do you have a preference?

A configure option sounds good to me. As said before I think it is up to
the distribution how to handle it and a configure option will make it
quite easy.

bye,
Sumit

> _______________________________________________
> sssd-devel mailing list
> [email protected]
> https://lists.fedorahosted.org/admin/lists/[email protected]
_______________________________________________
sssd-devel mailing list
[email protected]
https://lists.fedorahosted.org/admin/lists/[email protected]

Reply via email to