aboutsummaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-extended/libvirt/libvirt_1.%.bbappend
blob: 874bfd6256bde6b754a133d0f1f689ef1f55da2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
PACKAGECONFIG ?= "qemu lxc test remote macvtap libvirtd udev yajl \
	 	 python ebtables \
		 ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
		"

inherit useradd
USERADD_PACKAGES = "${PN}"
GROUPADD_PARAM_${PN} = "--system libvirt"

do_install_append() {
	sed -e "s:^#unix_sock_group =:unix_sock_group =:g" -i ${D}/etc/libvirt/libvirtd.conf
	sed -e "s:^#unix_sock_rw_perms =:unix_sock_rw_perms =:g" -i ${D}/etc/libvirt/libvirtd.conf
}