[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 10/10] Enable driver modules in libvirt RPM



At 05/22/2012 03:59 AM, Daniel P. Berrange Wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> Turn on loadable modules for libvirtd. Add new sub-RPMs
> libvirt-daemon-driver-XXX, one for each loadable .so.
> Modify the libvirt-daemon-YYY RPMs to depend on each of
> the individual drivers they required

I build the libvirt and try to install it, and meet some
dependencies error:
error: Failed dependencies:
	libvirt-daemon-network = 0.9.12-1.el6 is needed by libvirt-daemon-driver-lxc-0.9.12-1.el6.x86_64
	libvirt-daemon-network = 0.9.12-1.el6 is needed by libvirt-daemon-driver-qemu-0.9.12-1.el6.x86_64
	libvirt-daemon-driver-nwilter = 0.9.12-1.el6 is needed by libvirt-daemon-kvm-0.9.12-1.el6.x86_64
	libvirt-daemon-driver-nwilter = 0.9.12-1.el6 is needed by libvirt-daemon-lxc-0.9.12-1.el6.x86_64

> 
> * libvirt.spec.in: Enable driver modules
> 
> Signed-off-by: Daniel P. Berrange <berrange redhat com>
> ---
>  libvirt.spec.in |  296 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-
>  1 files changed, 293 insertions(+), 3 deletions(-)
> 

<cut>

> +%if %{with_qemu}
> +%package daemon-driver-qemu
> +Summary: Qemu driver plugin for the libvirtd daemon
> +Group: Development/Libraries
> +Requires: libvirt-daemon = %{version}-%{release}
> +# There really is a hard cross-driver dependancy here
> +Requires: libvirt-daemon-network = %{version}-%{release}

I donot find anything about libvirt-daemon-network.

> +
> +%description daemon-driver-qemu
> +The qemu driver plugin for the libvirtd daemon, providing
> +an implementation of the hypervisor driver APIs using
> +QEMU
> +%endif

<cut>

>  
>  %if %{with_qemu_tcg}
>  %package daemon-qemu
> @@ -626,6 +790,15 @@ Summary: Server side daemon & driver required to run QEMU guests
>  Group: Development/Libraries
>  
>  Requires: libvirt-daemon = %{version}-%{release}
> +%if %{with_driver_modules}
> +Requires: libvirt-daemon-driver-qemu = %{version}-%{release}
> +Requires: libvirt-daemon-driver-interface = %{version}-%{release}
> +Requires: libvirt-daemon-driver-network = %{version}-%{release}
> +Requires: libvirt-daemon-driver-nodedev = %{version}-%{release}
> +Requires: libvirt-daemon-driver-nwilter = %{version}-%{release}

I donot find anything about libvirt-daemon-driver-nwilter in spec file.

Thanks
Wen Congyang

> +Requires: libvirt-daemon-driver-secret = %{version}-%{release}
> +Requires: libvirt-daemon-driver-storage = %{version}-%{release}
> +%endif
>  Requires: qemu
>  


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]