diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-12-05 14:21:54 -0500 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-12-05 14:21:54 -0500 |
| commit | 09ed6f8a6d36840c0a8d0bb19560cbfda445d6a4 (patch) | |
| tree | 45bfcf339672945f098d049d6af361fea2de1020 /meta-openstack/recipes-extended/libvirt/libvirt_1.1.2.bbappend | |
| parent | 6e48f94ec0a482db6cd55fa690601673b0d3ea6f (diff) | |
| parent | e0927d68cb468b43238c799d27237f4649f45e34 (diff) | |
| download | meta-cloud-services-09ed6f8a6d36840c0a8d0bb19560cbfda445d6a4.tar.gz | |
Merge branch 'havana'
Diffstat (limited to 'meta-openstack/recipes-extended/libvirt/libvirt_1.1.2.bbappend')
| -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 | } | ||
