[libvirt] [PATCH] Fix build when using polkit0

Jim Fehlig jfehlig at novell.com
Mon Jul 11 22:16:55 UTC 2011


Daniel P. Berrange wrote:
> I'd like the virNetServer stuff to not have any mention of policy
> kit in it. So rather than saying 'bool usePolkit', have a
> 'bool connectDBus', and just remove those HAVE_POLKIT0 conditionals
> so that the DBus API is always available in virNetServer. The changes
> you made under daemon/ are all fine
>   

The attached patch introduces a HAVE_DBUS conditional, which AFAICT is
only used by polkit0 so is only set when polkit0 is detected during
configure.  Is this what you had in mind?

Regards,
Jim

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-build-when-using-polkit0.patch
Type: text/x-patch
Size: 10902 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110711/07660618/attachment-0001.bin>


More information about the libvir-list mailing list