From aeccfe85be61cc37e7fbf24cd82ad70c23831d49 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Thu, 8 Mar 2007 23:31:28 +0000 Subject: [PATCH] Make sure to create system socket directory --- ChangeLog | 5 +++++ qemud/Makefile.am | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3aabf194b7..9f9b988f40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Mar 8 18:31:14 EST 2007 Daniel P. Berrange + + * qemud/Makefile.am: Make sure to create $PREFIX/var/run/libvirt + so that the system daemon can create its socket + Thu Mar 8 16:32:14 EST 2007 Daniel P. Berrange * autobuild.sh: Make all compiler warnings fatal for automated diff --git a/qemud/Makefile.am b/qemud/Makefile.am index a2d3b0721b..345fb807a4 100644 --- a/qemud/Makefile.am +++ b/qemud/Makefile.am @@ -25,11 +25,13 @@ install-data-local: $(INSTALL_DATA) $(srcdir)/default-network.xml $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/default.xml test -e $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/autostart/default.xml || \ ln -s ../default.xml $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/autostart/default.xml + mkdir -p $(DESTDIR)$(localstatedir)/run/libvirt uninstall-local: rm -f $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/autostart/default.xml rm -f $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/default.xml rmdir $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/autostart || : + rmdir $(DESTDIR)$(localstatedir)/run/libvirt || : EXTRA_DIST = libvirtd.in default-network.xml