diff options
-rw-r--r-- | recipes-extended/libvirt/libvirt_5.5.0.bb | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/recipes-extended/libvirt/libvirt_5.5.0.bb b/recipes-extended/libvirt/libvirt_5.5.0.bb index 8d718628..80f7a6cf 100644 --- a/recipes-extended/libvirt/libvirt_5.5.0.bb +++ b/recipes-extended/libvirt/libvirt_5.5.0.bb | |||
@@ -311,9 +311,18 @@ do_install_append() { | |||
311 | 311 | ||
312 | sed -i -e 's/^\(unix_sock_group\ =\ \).*/\1"kvm"/' ${D}/etc/libvirt/libvirtd.conf | 312 | sed -i -e 's/^\(unix_sock_group\ =\ \).*/\1"kvm"/' ${D}/etc/libvirt/libvirtd.conf |
313 | sed -i -e 's/^\(unix_sock_rw_perms\ =\ \).*/\1"0776"/' ${D}/etc/libvirt/libvirtd.conf | 313 | sed -i -e 's/^\(unix_sock_rw_perms\ =\ \).*/\1"0776"/' ${D}/etc/libvirt/libvirtd.conf |
314 | chown -R qemu:qemu ${D}/${localstatedir}/lib/libvirt/qemu | 314 | |
315 | echo "d qemu qemu 0755 ${localstatedir}/cache/libvirt/qemu none" \ | 315 | case ${MACHINE_ARCH} in |
316 | >> ${D}${sysconfdir}/default/volatiles/99_libvirt | 316 | *mips*) |
317 | break | ||
318 | ;; | ||
319 | *) | ||
320 | chown -R qemu:qemu ${D}/${localstatedir}/lib/libvirt/qemu | ||
321 | echo "d qemu qemu 0755 ${localstatedir}/cache/libvirt/qemu none" \ | ||
322 | >> ${D}${sysconfdir}/default/volatiles/99_libvirt | ||
323 | break | ||
324 | ;; | ||
325 | esac | ||
317 | 326 | ||
318 | if ${@bb.utils.contains('PACKAGECONFIG','gnutls','true','false',d)}; then | 327 | if ${@bb.utils.contains('PACKAGECONFIG','gnutls','true','false',d)}; then |
319 | # Generate sample keys and certificates. | 328 | # Generate sample keys and certificates. |