[Pkg-xen-changes] r139 - trunk/xen-3.0/debian
Bastian Blank
waldi at costa.debian.org
Wed Mar 22 18:33:58 UTC 2006
Author: waldi
Date: 2006-03-22 18:33:56 +0000 (Wed, 22 Mar 2006)
New Revision: 139
Removed:
trunk/xen-3.0/debian/xen-utils-3.0.prerm
Modified:
trunk/xen-3.0/debian/xen-utils-3.0.postinst
trunk/xen-3.0/debian/xen-utils-3.0.postrm
Log:
* debian/xen-utils-3.0.postinst, debian/xen-utils-3.0.postrm:
Don't use invoke-rc.d and update-rc.d by hand.
* debian/xen-utils-3.0.prerm: Remove.
Modified: trunk/xen-3.0/debian/xen-utils-3.0.postinst
===================================================================
--- trunk/xen-3.0/debian/xen-utils-3.0.postinst 2006-03-22 18:16:20 UTC (rev 138)
+++ trunk/xen-3.0/debian/xen-utils-3.0.postinst 2006-03-22 18:33:56 UTC (rev 139)
@@ -11,13 +11,6 @@
XENSTORED_DIR="/var/lib/xenstored"
[ ! -d "${XENSTORED_DIR}" ] && install -d -m 0700 "${XENSTORED_DIR}"
- update-rc.d xend start 20 2 3 4 5 . stop 21 0 1 6 .
- update-rc.d xendomains start 21 2 3 4 5 . stop 20 0 1 6 .
- invoke-rc.d xend start || true
- # Only start xendomains if we're installing from scratch, not if we are upgrading an existing installation
- if [ -z "$2" ]; then
- invoke-rc.d xendomains start || true
- fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
Modified: trunk/xen-3.0/debian/xen-utils-3.0.postrm
===================================================================
--- trunk/xen-3.0/debian/xen-utils-3.0.postrm 2006-03-22 18:16:20 UTC (rev 138)
+++ trunk/xen-3.0/debian/xen-utils-3.0.postrm 2006-03-22 18:33:56 UTC (rev 139)
@@ -10,9 +10,6 @@
XENSTORED_DIR="/var/lib/xenstored"
[ -d "${XENSTORED_DIR}" ] && rm -r "${XENSTORED_DIR}"
-
- update-rc.d xend remove
- update-rc.d xendomains remove
;;
remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
Deleted: trunk/xen-3.0/debian/xen-utils-3.0.prerm
===================================================================
--- trunk/xen-3.0/debian/xen-utils-3.0.prerm 2006-03-22 18:16:20 UTC (rev 138)
+++ trunk/xen-3.0/debian/xen-utils-3.0.prerm 2006-03-22 18:33:56 UTC (rev 139)
@@ -1,25 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
-remove|deconfigure)
- invoke-rc.d xendomains stop || true
- invoke-rc.d xend stop || true
- ;;
-upgrade)
- # On upgrade just restart xend, but don't touch the running domains...
- invoke-rc.d xend stop || true
- ;;
-failed-upgrade)
- ;;
-*)
- echo "postrm called with unknown argument \`$1'" >&2
- exit
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0
-
More information about the Pkg-xen-changes
mailing list