diff --git a/ChangeLog b/ChangeLog index dacdc51514..b021522163 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Fri Feb 23 12:45:08 IST 2007 Mark McLoughlin + + * qemud/Makefile.am: install libvirt_qemud in /usr/sbin + instead of /usr/libexec + + * src/Makefile.am, src/qemu_internal.c: pass the correct + path to libvirt + Fri Feb 23 10:26:24 IST 2007 Mark McLoughlin * src/virsh.c: in "start" and "net-start" use e.g. diff --git a/qemud/Makefile.am b/qemud/Makefile.am index 7c21ab7e35..0a70b188c2 100644 --- a/qemud/Makefile.am +++ b/qemud/Makefile.am @@ -2,7 +2,7 @@ INCLUDES = @LIBXML_CFLAGS@ -libexec_PROGRAMS = libvirt_qemud +sbin_PROGRAMS = libvirt_qemud libvirt_qemud_SOURCES = qemud.c internal.h protocol.h \ driver.c driver.h \ diff --git a/src/Makefile.am b/src/Makefile.am index 69546b63fc..f08038103b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,7 @@ ## Process this file with automake to produce Makefile.in INCLUDES = -I$(top_builddir)/include -I@top_srcdir@/include @LIBXML_CFLAGS@ -I@top_srcdir@/qemud \ - -DBINDIR=\""$(libexecdir)"\" -DLOCALEBASEDIR=\""$(datadir)/locale"\" \ + -DBINDIR=\""$(libexecdir)"\" -DSBINDIR=\""$(sbindir)"\" -DLOCALEBASEDIR=\""$(datadir)/locale"\" \ -DLOCAL_STATE_DIR=\""$(localstatedir)"\" \ -DGETTEXT_PACKAGE=\"$(PACKAGE)\" DEPS = libvirt.la diff --git a/src/qemu_internal.c b/src/qemu_internal.c index 19ff45c14d..0c60582ec8 100644 --- a/src/qemu_internal.c +++ b/src/qemu_internal.c @@ -99,8 +99,8 @@ static const char * qemuFindServerPath(void) { static const char *serverPaths[] = { - BINDIR "/libvirt_qemud", - BINDIR "/libvirt_qemud_dbg", + SBINDIR "/libvirt_qemud", + SBINDIR "/libvirt_qemud_dbg", NULL }; int i;