diff options
Diffstat (limited to 'meta-openstack/recipes-extended')
| -rw-r--r-- | meta-openstack/recipes-extended/libvirt/libvirt_1.1.2.bbappend | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-openstack/recipes-extended/libvirt/libvirt_1.1.2.bbappend b/meta-openstack/recipes-extended/libvirt/libvirt_1.1.2.bbappend index 3a6634e..eb7a921 100644 --- a/meta-openstack/recipes-extended/libvirt/libvirt_1.1.2.bbappend +++ b/meta-openstack/recipes-extended/libvirt/libvirt_1.1.2.bbappend | |||
| @@ -2,3 +2,12 @@ PACKAGECONFIG ?= "qemu lxc test remote macvtap libvirtd udev yajl \ | |||
| 2 | python numactl sanlock ebtables \ | 2 | python numactl sanlock ebtables \ |
| 3 | ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ | 3 | ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ |
| 4 | " | 4 | " |
| 5 | |||
| 6 | inherit useradd | ||
| 7 | USERADD_PACKAGES = "${PN}" | ||
| 8 | GROUPADD_PARAM_${PN} = "--system libvirt" | ||
| 9 | |||
| 10 | do_install_append() { | ||
| 11 | sed -e "s:^#unix_sock_group =:unix_sock_group =:g" -i ${D}/etc/libvirt/libvirtd.conf | ||
| 12 | sed -e "s:^#unix_sock_rw_perms =:unix_sock_rw_perms =:g" -i ${D}/etc/libvirt/libvirtd.conf | ||
| 13 | } | ||
