mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-20 11:35:19 +00:00
spec: Remove libvirt-daemon dependency from primary drivers
To avoid needlessly installing the monolithic daemon, replace the libvirt-daemon dependency with libvirt-daemon-common in the primary drivers. The qemu driver also needs a dependency on libvirt-daemon-log since the virtqemud systemd service file has a hard dependency on virtlogd.socket. Signed-off-by: Jim Fehlig <jfehlig@suse.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
cba964b145
commit
b617d8f29e
@ -749,7 +749,8 @@ parted and more.
|
|||||||
%if %{with_qemu}
|
%if %{with_qemu}
|
||||||
%package daemon-driver-qemu
|
%package daemon-driver-qemu
|
||||||
Summary: QEMU driver plugin for the libvirtd daemon
|
Summary: QEMU driver plugin for the libvirtd daemon
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
|
Requires: libvirt-daemon-log = %{version}-%{release}
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
Requires: /usr/bin/qemu-img
|
Requires: /usr/bin/qemu-img
|
||||||
# For image compression
|
# For image compression
|
||||||
@ -775,7 +776,7 @@ QEMU
|
|||||||
%if %{with_lxc}
|
%if %{with_lxc}
|
||||||
%package daemon-driver-lxc
|
%package daemon-driver-lxc
|
||||||
Summary: LXC driver plugin for the libvirtd daemon
|
Summary: LXC driver plugin for the libvirtd daemon
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
# There really is a hard cross-driver dependency here
|
# There really is a hard cross-driver dependency here
|
||||||
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
Requires: libvirt-daemon-driver-network = %{version}-%{release}
|
||||||
@ -795,7 +796,7 @@ the Linux kernel
|
|||||||
%if %{with_vbox}
|
%if %{with_vbox}
|
||||||
%package daemon-driver-vbox
|
%package daemon-driver-vbox
|
||||||
Summary: VirtualBox driver plugin for the libvirtd daemon
|
Summary: VirtualBox driver plugin for the libvirtd daemon
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
|
|
||||||
%description daemon-driver-vbox
|
%description daemon-driver-vbox
|
||||||
@ -807,7 +808,7 @@ VirtualBox
|
|||||||
%if %{with_libxl}
|
%if %{with_libxl}
|
||||||
%package daemon-driver-libxl
|
%package daemon-driver-libxl
|
||||||
Summary: Libxl driver plugin for the libvirtd daemon
|
Summary: Libxl driver plugin for the libvirtd daemon
|
||||||
Requires: libvirt-daemon = %{version}-%{release}
|
Requires: libvirt-daemon-common = %{version}-%{release}
|
||||||
Requires: libvirt-libs = %{version}-%{release}
|
Requires: libvirt-libs = %{version}-%{release}
|
||||||
Obsoletes: libvirt-daemon-driver-xen < 4.3.0
|
Obsoletes: libvirt-daemon-driver-xen < 4.3.0
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user