[Pkg-libvirt-commits] [Git][libvirt-team/libvirt][debian/sid] 3 commits: Move qemu, lxc, uml, vbox and xen connection drivers into separate packages.

Guido Günther gitlab at salsa.debian.org
Tue Nov 19 00:53:13 GMT 2019



Guido Günther pushed to branch debian/sid at Libvirt Packaging Team / libvirt


Commits:
8dc356ce by Christian Ehrhardt at 2019-11-18T14:19:27Z
Move qemu, lxc, uml, vbox and xen connection drivers into separate packages.

This reduces the dependencies pulled into default installations. (Closes: #901940)

We agreed to NOT make vbox<->xen mutually exclusive.
But having them in separate packages still at least gives people
affected by the following a chance to resolve it:
- https://askubuntu.com/questions/1060001/problems-starting-libvirt-daemon-in-ubunti-18-04
- https://bugzilla.redhat.com/show_bug.cgi?id=1278847
- https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1784276

- - - - -
3a856395 by Christian Ehrhardt at 2019-11-18T14:19:28Z
debian/libvirt-daemon.NEWS: add info about split dependencies

Signed-off-by: Christian Ehrhardt <christian.ehrhardt at canonical.com>

- - - - -
874a85a0 by Guido Günther at 2019-11-19T00:53:08Z
Merge branch 'separate-connection-drivers-debian' into 'debian/sid'

Separate connection drivers debian

See merge request libvirt-team/libvirt!2
- - - - -


9 changed files:

- debian/control
- + debian/libvirt-daemon-driver-lxc.install
- + debian/libvirt-daemon-driver-qemu.install
- + debian/libvirt-daemon-driver-vbox.install
- + debian/libvirt-daemon-driver-xen.install
- debian/libvirt-daemon.NEWS
- debian/libvirt-daemon.install
- debian/rules
- debian/tests/control


Changes:

=====================================
debian/control
=====================================
@@ -99,12 +99,16 @@ Depends:
  ${misc:Depends},
  ${shlibs:Depends},
  libvirt0 (= ${binary:Version}),
+ libvirt-daemon-driver-qemu,
 Enhances: qemu, qemu-kvm, xen
 Section: admin
 Recommends:
  qemu-kvm | qemu (>= 0.9.1),
  libxml2-utils,
  netcat-openbsd,
+ libvirt-daemon-driver-lxc,
+ libvirt-daemon-driver-vbox,
+ libvirt-daemon-driver-xen,
 Suggests:
  libvirt-daemon-driver-storage-gluster,
  libvirt-daemon-driver-storage-rbd,
@@ -119,6 +123,74 @@ Description: Virtualization daemon
  .
  This package contains the daemon libvirtd to manage the hypervisors.
 
+Package: libvirt-daemon-driver-qemu
+Architecture: linux-any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+ libvirt-daemon (= ${binary:Version}),
+Replaces: libvirt-daemon (<< 5.6.0-3~)
+Breaks: libvirt-daemon (<< 5.6.0-3~)
+Section: admin
+Description: Virtualization daemon QEMU connection 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 connection driver for QEMU.
+
+Package: libvirt-daemon-driver-lxc
+Architecture: linux-any
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+ libvirt-daemon (= ${binary:Version}),
+Replaces: libvirt-daemon (<< 5.6.0-3~)
+Breaks: libvirt-daemon (<< 5.6.0-3~)
+Section: admin
+Description: Virtualization daemon LXC connection 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 connection driver for LXC.
+
+Package: libvirt-daemon-driver-vbox
+Architecture: i386 amd64
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+ libvirt-daemon (= ${binary:Version}),
+Replaces: libvirt-daemon (<< 5.6.0-3~)
+Breaks: libvirt-daemon (<< 5.6.0-3~)
+Section: admin
+Description: Virtualization daemon VirtualBox connection 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 connection driver for VirtualBox.
+
+Package: libvirt-daemon-driver-xen
+Architecture: i386 amd64 armhf arm64
+Depends:
+ ${misc:Depends},
+ ${shlibs:Depends},
+ libvirt-daemon (= ${binary:Version}),
+Replaces: libvirt-daemon (<< 5.6.0-3~)
+Breaks: libvirt-daemon (<< 5.6.0-3~)
+Section: admin
+Description: Virtualization daemon Xen connection 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 connection driver for Xen.
+
 Package: libvirt-daemon-driver-storage-gluster
 Architecture: linux-any
 Depends:


=====================================
debian/libvirt-daemon-driver-lxc.install
=====================================
@@ -0,0 +1 @@
+usr/lib/*/libvirt/connection-driver/libvirt_driver_lxc.so


=====================================
debian/libvirt-daemon-driver-qemu.install
=====================================
@@ -0,0 +1 @@
+usr/lib/*/libvirt/connection-driver/libvirt_driver_qemu.so


=====================================
debian/libvirt-daemon-driver-vbox.install
=====================================
@@ -0,0 +1 @@
+usr/lib/*/libvirt/connection-driver/libvirt_driver_vbox.so


=====================================
debian/libvirt-daemon-driver-xen.install
=====================================
@@ -0,0 +1 @@
+usr/lib/*/libvirt/connection-driver/libvirt_driver_libxl.so


=====================================
debian/libvirt-daemon.NEWS
=====================================
@@ -1,3 +1,20 @@
+libvirt (5.6.0-3) 5.6.0-3; urgency=medium
+
+  Just as version 3.7.0-3 separated the storage drivers into individual
+  binary packages - for a smaller amount of default dependencies and the
+  ability to reduce the active codebase for security concerns - this is
+  now done for the connection drivers as well.
+
+  Internal drivers such as interface, network and storage stay part of the
+  libvirt-daemon package for now. But lxc, qemu, vbox and xen are in packages
+  like libvirt-daemon-driver-<type>.
+  By default libvirt-daemon depends on the qemu connection (most common
+  use case) and recommends the further formerly integrated connection types.
+  This allows users concerned about size or active codebase to remove those
+  drivers they do not use.
+
+ -- Christian Ehrhardt <christian.ehrhardt at canonical.com>  Thu, 04 Apr 2019 15:07:34 +0200
+
 libvirt (1.1.4-2) unstable; urgency=low
 
   If you're using cgroups make sure you're using a different mount per cgroup


=====================================
debian/libvirt-daemon.install
=====================================
@@ -2,7 +2,12 @@ usr/sbin/*
 usr/lib/libvirt/libvirt_*
 usr/lib/libvirt/libvirt-guests.sh
 usr/lib/*/libvirt/lock-driver/lockd.so
-usr/lib/*/libvirt/connection-driver
+usr/lib/*/libvirt/connection-driver/libvirt_driver_interface.so
+usr/lib/*/libvirt/connection-driver/libvirt_driver_network.so
+usr/lib/*/libvirt/connection-driver/libvirt_driver_nodedev.so
+usr/lib/*/libvirt/connection-driver/libvirt_driver_nwfilter.so
+usr/lib/*/libvirt/connection-driver/libvirt_driver_secret.so
+usr/lib/*/libvirt/connection-driver/libvirt_driver_storage.so
 usr/share/augeas/*
 usr/share/bash-completion/*
 usr/share/man/man8/*


=====================================
debian/rules
=====================================
@@ -222,7 +222,6 @@ endif
 	done
 
 	# Don't ship any la files
-	rm debian/libvirt-daemon/usr/lib/*/libvirt/connection-driver/*.la
 	rm debian/libvirt-wireshark/usr/lib/*/wireshark/plugins/*/*/*.la
 	# Don't ship any files that are managed by the user only
 	rm debian/libvirt-daemon-system/etc/apparmor.d/local/*


=====================================
debian/tests/control
=====================================
@@ -7,7 +7,7 @@ Depends: libvirt-daemon, libvirt-clients, libxml2-utils, qemu-system, qemu-kvm
 Restrictions: allow-stderr, isolation-container
 
 Tests: smoke-lxc
-Depends: libvirt-daemon-system, libvirt-clients, libxml2-utils
+Depends: libvirt-daemon-system, libvirt-daemon-driver-lxc, libvirt-clients, libxml2-utils
 Restrictions: allow-stderr, needs-root
 
 Tests: build-test



View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/compare/1264fe508d5177c5a6abbcfe25ff9d2ed4aefa25...874a85a0441a3c34745590dbdb09407acfc094b6

-- 
View it on GitLab: https://salsa.debian.org/libvirt-team/libvirt/compare/1264fe508d5177c5a6abbcfe25ff9d2ed4aefa25...874a85a0441a3c34745590dbdb09407acfc094b6
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-libvirt-commits/attachments/20191119/144f93da/attachment-0001.html>


More information about the Pkg-libvirt-commits mailing list