summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-extended/libvirt/libvirt_1.2.19.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-extended/libvirt/libvirt_1.2.19.bb b/recipes-extended/libvirt/libvirt_1.2.19.bb
index f4333218..df53d59a 100644
--- a/recipes-extended/libvirt/libvirt_1.2.19.bb
+++ b/recipes-extended/libvirt/libvirt_1.2.19.bb
@@ -225,6 +225,11 @@ do_install_append() {
225 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then 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 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 227 sed -i '/#LIBVIRTD_ARGS="--listen"/a LIBVIRTD_ARGS="--listen --daemon"' ${D}/${sysconfdir}/sysconfig/libvirtd
228
229 # We can't use 'notify' when we don't support 'sd_notify' dbus capabilities.
230 sed -i -e 's/Type=notify/Type=forking/' \
231 -e '/Type=forking/a PIDFile=${localstatedir}/run/libvirtd.pid' \
232 ${D}/${systemd_unitdir}/system/libvirtd.service
228 fi 233 fi
229 234
230 # The /var/run/libvirt directories created by the Makefile 235 # The /var/run/libvirt directories created by the Makefile