diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-10-14 10:36:00 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-10-14 10:36:00 -0400 |
| commit | dca6a8b71ea7a468d912cae9a178f65da31105b5 (patch) | |
| tree | 2217373d9ef7aa2bd20e2b29158788cc65eecdfe /meta-openstack/recipes-extended/libvirt/libvirt_1.2.8.bbappend | |
| parent | d8c7fe8aa19b28249e50ea69127c392743d028dd (diff) | |
| download | meta-cloud-services-dca6a8b71ea7a468d912cae9a178f65da31105b5.tar.gz | |
libvirt: update bbappend to meta-virtualization latest
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-extended/libvirt/libvirt_1.2.8.bbappend')
| -rw-r--r-- | meta-openstack/recipes-extended/libvirt/libvirt_1.2.8.bbappend | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-openstack/recipes-extended/libvirt/libvirt_1.2.8.bbappend b/meta-openstack/recipes-extended/libvirt/libvirt_1.2.8.bbappend new file mode 100644 index 0000000..195633b --- /dev/null +++ b/meta-openstack/recipes-extended/libvirt/libvirt_1.2.8.bbappend | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | PACKAGECONFIG ?= "qemu lxc test remote macvtap libvirtd udev yajl \ | ||
| 2 | python sanlock ebtables \ | ||
| 3 | ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ | ||
| 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 | } | ||
