diff options
Diffstat (limited to 'recipes-extended/libvirt')
-rw-r--r-- | recipes-extended/libvirt/libvirt_4.3.0.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes-extended/libvirt/libvirt_4.3.0.bb b/recipes-extended/libvirt/libvirt_4.3.0.bb index ef51b9e5..edd52616 100644 --- a/recipes-extended/libvirt/libvirt_4.3.0.bb +++ b/recipes-extended/libvirt/libvirt_4.3.0.bb | |||
@@ -266,8 +266,10 @@ do_install_append() { | |||
266 | fi | 266 | fi |
267 | 267 | ||
268 | # disable seccomp_sandbox | 268 | # disable seccomp_sandbox |
269 | sed -i '/^#seccomp_sandbox = 1/aseccomp_sandbox = 0' \ | 269 | if [ -e ${D}${sysconfdir}/libvirt/qemu.conf ] ; then |
270 | ${D}${sysconfdir}/libvirt/qemu.conf | 270 | sed -i '/^#seccomp_sandbox = 1/aseccomp_sandbox = 0' \ |
271 | ${D}${sysconfdir}/libvirt/qemu.conf | ||
272 | fi | ||
271 | 273 | ||
272 | # Add hook support for libvirt | 274 | # Add hook support for libvirt |
273 | mkdir -p ${D}/etc/libvirt/hooks | 275 | mkdir -p ${D}/etc/libvirt/hooks |