mirror of https://gitee.com/openkylin/libvirt.git
Rename the daemon to libvirtd
This commit is contained in:
parent
de5bd324dc
commit
b6b8583663
|
@ -1,3 +1,8 @@
|
|||
Tue Jun 26 19:04:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* qemud/libvirtd.init.in, qemud/Makefile.am, libvirt.spec.in
|
||||
Rename the daemon from libvirt_qemud to libvirtd
|
||||
|
||||
Tue Jun 26 19:02:00 EST 2007 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* qemud/libvirtd.in, qemud/libvirtd.init.in, qemud/Makefile.am
|
||||
|
|
|
@ -135,7 +135,7 @@ fi
|
|||
%dir %{_localstatedir}/lib/libvirt/
|
||||
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/qemu/
|
||||
%attr(4755, root, root) %{_libexecdir}/libvirt_proxy
|
||||
%attr(0755, root, root) %{_sbindir}/libvirt_qemud
|
||||
%attr(0755, root, root) %{_sbindir}/libvirtd
|
||||
%doc docs/libvirt.rng
|
||||
|
||||
%files devel
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
INCLUDES = @LIBXML_CFLAGS@
|
||||
UUID=$(shell uuidgen)
|
||||
|
||||
sbin_PROGRAMS = libvirt_qemud
|
||||
sbin_PROGRAMS = libvirtd
|
||||
|
||||
libvirt_qemud_SOURCES = \
|
||||
libvirtd_SOURCES = \
|
||||
qemud.c internal.h \
|
||||
driver.c driver.h \
|
||||
dispatch.c dispatch.h \
|
||||
|
@ -20,7 +20,7 @@ libvirt_qemud_SOURCES = \
|
|||
../src/virterror.c \
|
||||
event.c event.h
|
||||
#-D_XOPEN_SOURCE=600 -D_XOPEN_SOURCE_EXTENDED=1 -D_POSIX_C_SOURCE=199506L
|
||||
libvirt_qemud_CFLAGS = \
|
||||
libvirtd_CFLAGS = \
|
||||
-I$(top_srcdir)/include -I$(top_builddir)/include $(LIBXML_CFLAGS) \
|
||||
$(WARN_CFLAGS) -DLOCAL_STATE_DIR="\"$(localstatedir)\"" \
|
||||
-DSYSCONF_DIR="\"$(sysconfdir)\"" \
|
||||
|
@ -28,9 +28,9 @@ libvirt_qemud_CFLAGS = \
|
|||
-DREMOTE_PID_FILE="\"$(REMOTE_PID_FILE)\"" \
|
||||
-DGETTEXT_PACKAGE=\"$(PACKAGE)\"
|
||||
|
||||
libvirt_qemud_LDFLAGS = $(WARN_CFLAGS) $(LIBXML_LIBS)
|
||||
libvirt_qemud_DEPENDENCIES = ../src/libvirt.la
|
||||
libvirt_qemud_LDADD = ../src/libvirt.la
|
||||
libvirtd_LDFLAGS = $(WARN_CFLAGS) $(LIBXML_LIBS)
|
||||
libvirtd_DEPENDENCIES = ../src/libvirt.la
|
||||
libvirtd_LDADD = ../src/libvirt.la
|
||||
|
||||
install-data-local: install-init
|
||||
mkdir -p $(DESTDIR)$(sysconfdir)/libvirt/qemu/networks/autostart
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
#
|
||||
|
||||
# Sanity checks.
|
||||
[ -x @sbindir@/libvirt_qemud ] || exit 0
|
||||
[ -x @sbindir@/libvirtd ] || exit 0
|
||||
|
||||
# Source function library.
|
||||
. @sysconfdir@/rc.d/init.d/functions
|
||||
|
||||
SERVICE=libvirtd
|
||||
PROCESS=libvirt_qemud
|
||||
PROCESS=libvirtd
|
||||
|
||||
|
||||
RETVAL=0
|
||||
|
|
Loading…
Reference in New Issue