[Pkg-libvirt-commits] [libvirt] 03/03: Drop libvirt-bin upgrade handling

Guido Guenther agx at moszumanska.debian.org
Mon Oct 16 06:36:08 UTC 2017


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

agx pushed a commit to branch debian/sid
in repository libvirt.

commit d16ae50be64af64ff855000fe4bb56efbfdba8b3
Author: Guido Günther <agx at sigxcpu.org>
Date:   Mon Oct 16 08:34:07 2017 +0200

    Drop libvirt-bin upgrade handling
    
    libvirt-bin was dropped before Jessie
---
 debian/control                       |  7 ------
 debian/libvirt-daemon-system.preinst | 46 ------------------------------------
 2 files changed, 53 deletions(-)

diff --git a/debian/control b/debian/control
index db095ee..56b4227 100644
--- a/debian/control
+++ b/debian/control
@@ -87,8 +87,6 @@ Depends:
  ${shlibs:Depends},
  libvirt0 (= ${binary:Version}),
 Section: admin
-Replaces: libvirt-bin (<< 1.2.6-1~)
-Conflicts: libvirt-bin (<< 1.2.6-1~)
 Suggests:
  libvirt-daemon,
 Description: Programs for the libvirt library
@@ -196,8 +194,6 @@ Description: Virtualization daemon ZFS storage driver
 
 Package: libvirt-daemon-system
 Architecture: any
-# Needed to clean up old libvirt-bin cruft, can be removed post jessie
-Pre-Depends: init-system-helpers (>= 1.18~)
 Depends:
  ${misc:Depends},
  ${shlibs:Depends},
@@ -221,8 +217,6 @@ Suggests: radvd, auditd, systemtap, systemd, apparmor,
  nfs-common, zfsutils, pm-utils
 Breaks: avahi-daemon (<< 0.6.31-3~),
  systemd-sysv (<< 224-1~)
-Replaces: libvirt-bin (<< 1.2.7-4~)
-Conflicts: libvirt-bin (<< 1.2.6-1~)
 Description: Libvirt daemon configuration files
  Libvirt is a C toolkit to interact with the virtualization capabilities
  of recent versions of Linux (and other OSes). The library aims at providing
@@ -260,7 +254,6 @@ Package: libvirt-dev
 Architecture: any
 Section: libdevel
 Depends: ${misc:Depends}, libvirt0 (= ${binary:Version}), libxen-dev [i386 amd64 armhf arm64]
-Replaces: libvirt-bin (<< 1.2.0~)
 Recommends: pkg-config
 Description: development files for the libvirt library
  Libvirt is a C toolkit to interact with the virtualization capabilities
diff --git a/debian/libvirt-daemon-system.preinst b/debian/libvirt-daemon-system.preinst
deleted file mode 100644
index 8a06ff5..0000000
--- a/debian/libvirt-daemon-system.preinst
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/sh
-# preinst script for libvirt-daemon-system
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <new-preinst> `install'
-#        * <new-preinst> `install' <old-version>
-#        * <new-preinst> `upgrade' <old-version>
-#        * <old-preinst> `abort-upgrade' <new-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    install|upgrade)
-	# When renaming the .service file, systemd might become confused, we
-	# need to ensure that the libvirtd daemon is fully stopped before
-	# trying to restart it again. (Bug: #730604)
-	if dpkg --compare-versions "$2" lt "1.2.6-1~"; then
-	    if [ -d /run/systemd/system ]; then
-	        [ ! -f /lib/systemd/system/libvirt-bin.service ] || invoke-rc.d libvirt-bin stop
-	    fi
-	    # Remove everything we know about libvirt-bin.service
-	    deb-systemd-helper purge libvirt-bin.service >/dev/null
-	    deb-systemd-helper unmask libvirt-bin.service >/dev/null
-	fi
-    ;;
-
-    abort-upgrade)
-    ;;
-
-    *)
-        echo "preinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0

-- 
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