[Initscripts-ng-commits] r949 - in /trunk/src/insserv/debian: changelog rules update-bootsystem-insserv
pere at users.alioth.debian.org
pere at users.alioth.debian.org
Tue Aug 4 20:13:40 UTC 2009
Author: pere
Date: Tue Aug 4 20:13:40 2009
New Revision: 949
URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=949
Log:
Keep dummy update-bootsystem-insserv to avoid breaking sysv-rc version 2.87dsf-2 in unstable during upgrades.
Added:
trunk/src/insserv/debian/update-bootsystem-insserv
Modified:
trunk/src/insserv/debian/changelog
trunk/src/insserv/debian/rules
Modified: trunk/src/insserv/debian/changelog
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/changelog?rev=949&op=diff
==============================================================================
--- trunk/src/insserv/debian/changelog (original)
+++ trunk/src/insserv/debian/changelog Tue Aug 4 20:13:40 2009
@@ -3,12 +3,14 @@
[ Petter Reinholdtsen ]
* Migrate the responsibility for enabling or disabling dependency
based boot sequencing from the insserv package to the sysv-rc
- package. Moves the update-bootsystem-insserv code to sysv-rc
- version 2.87dsf-3 postinst and drop the manual page. Leave
- update-rc.d-insserv in place to make it impossible for the
- update-rc.d diversion to be a dangling link during upgrades. It
- should be removed in Squeeze+1. Rewrite package description to
- reflect this (Closes: #475478 #511753).
+ package. Rewrite package description to reflect this (Closes:
+ #475478 #511753). Keep a dummy update-bootsystem-insserv script
+ to avoid having to conflict with sysv-rc version 2.87dsf-2. Keep
+ update-rc.d-insserv to make it impossible for the update-rc.d
+ diversion to be a dangling link during upgrades.
+ update-rc.d-insserv should be removed in Squeeze+1.
+ update-bootsystem-insserv could be removed when sysv-rc 2.87dsf-2
+ has been gone from unstable for 3 months.
* Drop dependencies on sysv-rc, initscripts and sysvinit-utils, and
leave it for sys-rc to pull in the packages needed for dependency
based boot sequencing to work properly.
Modified: trunk/src/insserv/debian/rules
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/rules?rev=949&op=diff
==============================================================================
--- trunk/src/insserv/debian/rules (original)
+++ trunk/src/insserv/debian/rules Tue Aug 4 20:13:40 2009
@@ -66,6 +66,7 @@
$(INSTALL) debian/check-initd-order $(DESTDIR)$(pkgdatadir)/.
$(INSTALL) debian/seq-changes $(DESTDIR)$(pkgdatadir)/.
$(INSTALL) debian/make-testsuite $(DESTDIR)$(pkgdatadir)/.
+ $(INSTALL) debian/update-bootsystem-insserv $(DESTDIR)$(sbindir)/.
$(INSTALL) debian/update-rc.d-insserv $(DESTDIR)$(sbindir)/.
# Install bash(1) completion
Added: trunk/src/insserv/debian/update-bootsystem-insserv
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/update-bootsystem-insserv?rev=949&op=file
==============================================================================
--- trunk/src/insserv/debian/update-bootsystem-insserv (added)
+++ trunk/src/insserv/debian/update-bootsystem-insserv Tue Aug 4 20:13:40 2009
@@ -1,0 +1,24 @@
+#!/bin/sh
+#
+# Author: Petter Reinholdtsen
+# Date: 2009-08-04
+#
+# Transition script only to be used by sysv-rc version 2.87dsf-2 if
+# insserv is upgraded without sysv-rc being upgraded too.
+
+set -e
+
+case "$1" in
+ enable|'')
+ exit 0
+ ;;
+ check)
+ exit 1
+ ;;
+ *)
+ echo "error: Unknown argument '$1'"
+ exit 1
+ ;;
+esac
+
+exit 0
More information about the Initscripts-ng-commits
mailing list