diff options
Diffstat (limited to 'meta-openstack')
| -rw-r--r-- | meta-openstack/recipes-dangling/libvirt/libvirt_1.2.2.bbappend (renamed from meta-openstack/recipes-extended/libvirt/libvirt_1.2.2.bbappend) | 2 | ||||
| -rw-r--r-- | meta-openstack/recipes-extended/libvirt/libvirt_1.2.4.bbappend | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/meta-openstack/recipes-extended/libvirt/libvirt_1.2.2.bbappend b/meta-openstack/recipes-dangling/libvirt/libvirt_1.2.2.bbappend index eb7a921..195633b 100644 --- a/meta-openstack/recipes-extended/libvirt/libvirt_1.2.2.bbappend +++ b/meta-openstack/recipes-dangling/libvirt/libvirt_1.2.2.bbappend | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | PACKAGECONFIG ?= "qemu lxc test remote macvtap libvirtd udev yajl \ | 1 | PACKAGECONFIG ?= "qemu lxc test remote macvtap libvirtd udev yajl \ |
| 2 | python numactl sanlock ebtables \ | 2 | python sanlock ebtables \ |
| 3 | ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ | 3 | ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ |
| 4 | " | 4 | " |
| 5 | 5 | ||
diff --git a/meta-openstack/recipes-extended/libvirt/libvirt_1.2.4.bbappend b/meta-openstack/recipes-extended/libvirt/libvirt_1.2.4.bbappend new file mode 100644 index 0000000..195633b --- /dev/null +++ b/meta-openstack/recipes-extended/libvirt/libvirt_1.2.4.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 | } | ||
