[Pkg-libvirt-commits] [libvirt] 01/02: Move glusterfs, rbd, sheepdog and zfs storage drivers into separate packages

Guido Guenther agx at moszumanska.debian.org
Fri Sep 15 12:45:22 UTC 2017


This is an automated email from the git hooks/post-receive script.

agx pushed a commit to annotated tag debian/3.7.0-3
in repository libvirt.

commit ea0f70cfde9ad38b40df4db4b05582d498f2a8e0
Author: Guido Günther <agx at sigxcpu.org>
Date:   Fri Sep 15 13:14:30 2017 +0200

    Move glusterfs, rbd, sheepdog and zfs storage drivers into separate packages
    
    This reduces the dependencies pulled into default installations.
    
    Closes: #875834
---
 debian/control                                     | 72 ++++++++++++++++++++++
 .../libvirt-daemon-driver-storage-gluster.install  |  1 +
 debian/libvirt-daemon-driver-storage-rbd.install   |  1 +
 .../libvirt-daemon-driver-storage-sheepdog.install |  1 +
 debian/libvirt-daemon-driver-storage-zfs.install   |  1 +
 debian/libvirt-daemon.install                      |  7 ++-
 debian/rules                                       |  1 -
 7 files changed, 82 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 32338cb..db095ee 100644
--- a/debian/control
+++ b/debian/control
@@ -112,6 +112,10 @@ Recommends:
  libxml2-utils,
  netcat-openbsd,
 Suggests:
+ libvirt-daemon-driver-storage-gluster,
+ libvirt-daemon-driver-storage-rbd,
+ libvirt-daemon-driver-storage-sheepdog,
+ libvirt-daemon-driver-storage-zfs,
  libvirt-daemon-system,
  numad,
 Description: Virtualization daemon
@@ -122,6 +126,74 @@ Description: Virtualization daemon
  .
  This package contains the daemon libvirtd to manage the hypvervisors.
 
+Package: libvirt-daemon-driver-storage-gluster
+Architecture: linux-any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+ libvirt-daemon (= ${binary:Version}),
+Replaces: libvirt-daemon (<< 3.7.0-3~)
+Breaks: libvirt-daemon (<< 3.7.0-3~)
+Section: admin
+Description: Virtualization daemon glusterfs storage driver
+ Libvirt is a C toolkit to interact with the virtualization capabilities
+ of recent versions of Linux (and other OSes). The library aims at providing
+ a long term stable C API for different virtualization mechanisms. It currently
+ supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox.
+ .
+ This package contains the libvirtd storage driver for GlusterFS.
+
+Package: libvirt-daemon-driver-storage-rbd
+Architecture: linux-any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+ libvirt-daemon (= ${binary:Version}),
+Replaces: libvirt-daemon (<< 3.7.0-3~)
+Breaks: libvirt-daemon (<< 3.7.0-3~)
+Section: admin
+Description: Virtualization daemon RBD storage driver
+ Libvirt is a C toolkit to interact with the virtualization capabilities
+ of recent versions of Linux (and other OSes). The library aims at providing
+ a long term stable C API for different virtualization mechanisms. It currently
+ supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox.
+ .
+ This package contains the libvirtd storage driver for RBD/Rados/Ceph.
+
+Package: libvirt-daemon-driver-storage-sheepdog
+Architecture: linux-any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+ libvirt-daemon (= ${binary:Version}),
+Replaces: libvirt-daemon (<< 3.7.0-3~)
+Breaks: libvirt-daemon (<< 3.7.0-3~)
+Section: admin
+Description: Virtualization daemon Sheedog storage driver
+ Libvirt is a C toolkit to interact with the virtualization capabilities
+ of recent versions of Linux (and other OSes). The library aims at providing
+ a long term stable C API for different virtualization mechanisms. It currently
+ supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox.
+ .
+ This package contains the libvirtd storage driver for Sheepdog.
+
+Package: libvirt-daemon-driver-storage-zfs
+Architecture: linux-any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+ libvirt-daemon (= ${binary:Version}),
+Replaces: libvirt-daemon (<< 3.7.0-3~)
+Breaks: libvirt-daemon (<< 3.7.0-3~)
+Section: admin
+Description: Virtualization daemon ZFS storage driver
+ Libvirt is a C toolkit to interact with the virtualization capabilities
+ of recent versions of Linux (and other OSes). The library aims at providing
+ a long term stable C API for different virtualization mechanisms. It currently
+ supports QEMU, KVM, XEN, OpenVZ, LXC, and VirtualBox.
+ .
+ This package contains the libvirtd storage driver for ZFS.
+
 Package: libvirt-daemon-system
 Architecture: any
 # Needed to clean up old libvirt-bin cruft, can be removed post jessie
diff --git a/debian/libvirt-daemon-driver-storage-gluster.install b/debian/libvirt-daemon-driver-storage-gluster.install
new file mode 100644
index 0000000..9072b57
--- /dev/null
+++ b/debian/libvirt-daemon-driver-storage-gluster.install
@@ -0,0 +1 @@
+/usr/lib/libvirt/storage-backend/libvirt_storage_backend_gluster.so
diff --git a/debian/libvirt-daemon-driver-storage-rbd.install b/debian/libvirt-daemon-driver-storage-rbd.install
new file mode 100644
index 0000000..8f5191e
--- /dev/null
+++ b/debian/libvirt-daemon-driver-storage-rbd.install
@@ -0,0 +1 @@
+/usr/lib/libvirt/storage-backend/libvirt_storage_backend_rbd.so
diff --git a/debian/libvirt-daemon-driver-storage-sheepdog.install b/debian/libvirt-daemon-driver-storage-sheepdog.install
new file mode 100644
index 0000000..fd89084
--- /dev/null
+++ b/debian/libvirt-daemon-driver-storage-sheepdog.install
@@ -0,0 +1 @@
+/usr/lib/libvirt/storage-backend/libvirt_storage_backend_sheepdog.so
diff --git a/debian/libvirt-daemon-driver-storage-zfs.install b/debian/libvirt-daemon-driver-storage-zfs.install
new file mode 100644
index 0000000..a97171d
--- /dev/null
+++ b/debian/libvirt-daemon-driver-storage-zfs.install
@@ -0,0 +1 @@
+/usr/lib/libvirt/storage-backend/libvirt_storage_backend_zfs.so
diff --git a/debian/libvirt-daemon.install b/debian/libvirt-daemon.install
index b7e455e..bcc56f1 100644
--- a/debian/libvirt-daemon.install
+++ b/debian/libvirt-daemon.install
@@ -5,4 +5,9 @@ usr/lib/libvirt/connection-driver
 usr/share/augeas/*
 usr/share/libvirt/*
 usr/share/man/man8/*
-usr/lib/libvirt/storage-backend/
+usr/lib/libvirt/storage-backend/libvirt_storage_backend_disk.so
+usr/lib/libvirt/storage-backend/libvirt_storage_backend_fs.so
+usr/lib/libvirt/storage-backend/libvirt_storage_backend_iscsi.so
+usr/lib/libvirt/storage-backend/libvirt_storage_backend_logical.so
+usr/lib/libvirt/storage-backend/libvirt_storage_backend_mpath.so
+usr/lib/libvirt/storage-backend/libvirt_storage_backend_scsi.so
diff --git a/debian/rules b/debian/rules
index 0672833..dd13ee6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -209,7 +209,6 @@ endif
 
 	# Don't ship any la files
 	rm debian/libvirt-daemon/usr/lib/libvirt/connection-driver/*.la
-	rm debian/libvirt-daemon/usr/lib/libvirt/storage-backend/*.la
 	rm debian/libvirt-wireshark/usr/lib/*/wireshark/plugins/*/*.la
 	# Don't ship api files in the daemon package
 	rm -r debian/libvirt-daemon/usr/share/libvirt/api/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libvirt.git



More information about the Pkg-libvirt-commits mailing list