diff options
| -rw-r--r-- | recipes-extended/libvirt/libvirt_git.bb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/recipes-extended/libvirt/libvirt_git.bb b/recipes-extended/libvirt/libvirt_git.bb index 229ffdbb..143a8b58 100644 --- a/recipes-extended/libvirt/libvirt_git.bb +++ b/recipes-extended/libvirt/libvirt_git.bb | |||
| @@ -245,15 +245,6 @@ do_install:append() { | |||
| 245 | echo "d root root 0755 /run/libvirt/qemu none" \ | 245 | echo "d root root 0755 /run/libvirt/qemu none" \ |
| 246 | >> ${D}${sysconfdir}/default/volatiles/99_libvirt | 246 | >> ${D}${sysconfdir}/default/volatiles/99_libvirt |
| 247 | 247 | ||
| 248 | # Manually set permissions and ownership to match polkit recipe | ||
| 249 | if ${@bb.utils.contains('PACKAGECONFIG', 'polkit', 'true', 'false', d)}; then | ||
| 250 | install -d -m 0700 ${D}/${datadir}/polkit-1/rules.d | ||
| 251 | chown polkitd ${D}/${datadir}/polkit-1/rules.d | ||
| 252 | chgrp root ${D}/${datadir}/polkit-1/rules.d | ||
| 253 | else | ||
| 254 | rm -rf ${D}/${datadir}/polkit-1 | ||
| 255 | fi | ||
| 256 | |||
| 257 | # disable seccomp_sandbox | 248 | # disable seccomp_sandbox |
| 258 | if [ -e ${D}${sysconfdir}/libvirt/qemu.conf ] ; then | 249 | if [ -e ${D}${sysconfdir}/libvirt/qemu.conf ] ; then |
| 259 | sed -i '/^#seccomp_sandbox = 1/aseccomp_sandbox = 0' \ | 250 | sed -i '/^#seccomp_sandbox = 1/aseccomp_sandbox = 0' \ |
