qemu-xen: Set localstatedir to /var.
authorAnthony PERARD <anthony.perard@citrix.com>
Tue, 8 Oct 2013 12:59:57 +0000 (13:59 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Thu, 10 Oct 2013 08:32:04 +0000 (09:32 +0100)
This path is used by the QEMU build system to create the /run directory.
If local-state-dir is not set, the result become $prefix/var which
is not an acceptable path.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/Makefile

index 206b79aa5122fd6f299f63672680dc0a0d4de9c3..b73f0a9d064a672e1346e02a89eb217a2d573c7e 100644 (file)
@@ -199,6 +199,7 @@ subdir-all-qemu-xen-dir: qemu-xen-dir-find
                -L$(XEN_ROOT)/tools/xenstore" \
                --bindir=$(LIBEXEC) \
                --datadir=$(SHAREDIR)/qemu-xen \
+               --localstatedir=/var \
                --disable-kvm \
                --disable-docs \
                --disable-guest-agent \