[PATCH V8 07/13] spec: Add module-init-tools dependency to nodedev and lxc drivers

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

 



Both the nodedev and lxc drivers can load kernel modules. Add a
module-init-tools dependency to the drivers and remove the dependency
from libvirt-daemon.

Signed-off-by: Jim Fehlig <jfehlig@xxxxxxxx>
Reviewed-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
Reviewed-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 libvirt.spec.in | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libvirt.spec.in b/libvirt.spec.in
index 4c2e6e3587..248abad87d 100644
--- a/libvirt.spec.in
+++ b/libvirt.spec.in
@@ -437,8 +437,6 @@ Requires: libvirt-daemon-lock = %{version}-%{release}
 Requires: libvirt-daemon-plugin-lockd = %{version}-%{release}
 Requires: libvirt-daemon-log = %{version}-%{release}
 Requires: libvirt-daemon-proxy = %{version}-%{release}
-# for modprobe of pci devices
-Requires: module-init-tools
 %if %{with_numad}
 Requires: numad
 %endif
@@ -574,6 +572,8 @@ Requires: libvirt-libs = %{version}-%{release}
 Requires: systemd >= 185
 # For managing persistent mediated devices
 Requires: mdevctl
+# for modprobe of pci devices
+Requires: module-init-tools
 
 %description daemon-driver-nodedev
 The nodedev driver plugin for the libvirtd daemon, providing
@@ -782,6 +782,8 @@ Requires: libvirt-libs = %{version}-%{release}
 # There really is a hard cross-driver dependency here
 Requires: libvirt-daemon-driver-network = %{version}-%{release}
 Requires: systemd-container
+# for modprobe of nbd driver
+Requires: module-init-tools
 
 %description daemon-driver-lxc
 The LXC driver plugin for the libvirtd daemon, providing
-- 
2.38.1





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux