anchor.diff:  	echo "d root root 0755 ${localstatedir}/run/libvirt/qemu none" \
   	     >> ${D}${sysconfdir}/default/volatiles/99_libvirt
   
  +	# Manually set permissions and ownership to match polkit recipe
  +	if ${@bb.utils.contains('PACKAGECONFIG', 'polkit', 'true', 'false', d)}; then
  +		install -d -m 0700 ${D}/${datadir}/polkit-1/rules.d
  +		chown polkitd ${D}/${datadir}/polkit-1/rules.d
  +		chgrp root ${D}/${datadir}/polkit-1/rules.d
  +	else
  +		rm -rf ${D}/${datadir}/polkit-1
  +	fi
  +
   	# Add hook support for libvirt
   	mkdir -p ${D}/etc/libvirt/hooks
   
  
positive.code: SECTION = "console/tools"
  
  DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux e2fsprogs pm-utils \
  	   iptables dnsmasq readline libtasn1 libxslt-native acl"
  
  # libvirt-guests.sh needs gettext.sh
  #
  
negative.code: 
  #connman blocks the 53 port and libvirtd can't start its DNS service
  RCONFLICTS_${PN}_libvirtd = "connman"
  
  SRC_URI = "http://libvirt.org/sources/libvirt-${PV}.tar.gz;name=libvirt \
             file://tools-add-libvirt-net-rpc-to-virt-host-validate-when.patch \
  