diff options
-rw-r--r-- | recipes-extended/libvirt/libvirt_1.2.17.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-extended/libvirt/libvirt_1.2.17.bb b/recipes-extended/libvirt/libvirt_1.2.17.bb index 6f269f99..06cb51b3 100644 --- a/recipes-extended/libvirt/libvirt_1.2.17.bb +++ b/recipes-extended/libvirt/libvirt_1.2.17.bb | |||
@@ -222,6 +222,11 @@ do_install_append() { | |||
222 | mv ${D}/${libexecdir}/libvirt-guests.sh ${D}/${sysconfdir}/init.d | 222 | mv ${D}/${libexecdir}/libvirt-guests.sh ${D}/${sysconfdir}/init.d |
223 | fi | 223 | fi |
224 | 224 | ||
225 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then | ||
226 | # This variable is used by libvirtd.service to start libvirtd in the right mode | ||
227 | sed -i '/#LIBVIRTD_ARGS="--listen"/a LIBVIRTD_ARGS="--listen --daemon"' ${D}/${sysconfdir}/sysconfig/libvirtd | ||
228 | fi | ||
229 | |||
225 | # The /var/run/libvirt directories created by the Makefile | 230 | # The /var/run/libvirt directories created by the Makefile |
226 | # are wiped out in volatile, we need to create these at boot. | 231 | # are wiped out in volatile, we need to create these at boot. |
227 | rm -rf ${D}${localstatedir}/run | 232 | rm -rf ${D}${localstatedir}/run |