[Initscripts-ng-commits] r192 - in /trunk/src/insserv/debian: changelog patches/00list patches/40_nosusescript.dpatch

pere at users.alioth.debian.org pere at users.alioth.debian.org
Sun Sep 10 10:48:03 UTC 2006


Author: pere
Date: Sun Sep 10 10:48:03 2006
New Revision: 192

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=192
Log:
New patch debian/patches/40_nosusescript to avoid inserting the 'single'
script showing up in runlevel S, and also avoid fixing the sequence
number to the values used by SuSe.

Added:
    trunk/src/insserv/debian/patches/40_nosusescript.dpatch   (with props)
Modified:
    trunk/src/insserv/debian/changelog
    trunk/src/insserv/debian/patches/00list

Modified: trunk/src/insserv/debian/changelog
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/changelog?rev=192&op=diff
==============================================================================
--- trunk/src/insserv/debian/changelog (original)
+++ trunk/src/insserv/debian/changelog Sun Sep 10 10:48:03 2006
@@ -7,6 +7,9 @@
   * Add $syslog to the dependency list for openbsd-inetd, to make sure
     it can log its start to syslog.  Drop $local_fs, as it is a
     dependency for $remote_fs.
+  * New patch debian/patches/40_nosusescript to avoid inserting the
+    'single' script showing up in runlevel S, and also avoid fixing
+    the sequence number to the values used by SuSe.
 
  -- Petter Reinholdtsen <pere at debian.org>  Sat,  9 Sep 2006 20:32:28 +0200
 

Modified: trunk/src/insserv/debian/patches/00list
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/patches/00list?rev=192&op=diff
==============================================================================
--- trunk/src/insserv/debian/patches/00list (original)
+++ trunk/src/insserv/debian/patches/00list Sun Sep 10 10:48:03 2006
@@ -10,4 +10,5 @@
 37_consistent_path
 38_debuginfo
 39_debianlvl
+40_nosusescript
 #51_cfgfilter_dpkg

Added: trunk/src/insserv/debian/patches/40_nosusescript.dpatch
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/patches/40_nosusescript.dpatch?rev=192&op=file
==============================================================================
--- trunk/src/insserv/debian/patches/40_nosusescript.dpatch (added)
+++ trunk/src/insserv/debian/patches/40_nosusescript.dpatch Sun Sep 10 10:48:03 2006
@@ -1,0 +1,41 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 40_nonsusescript.dpatch by Petter Reinholdtsen <pere at hungry.com>
+
+Make sure the 'single' script is not inserted into runlevel S, and
+avoid fixing the sequence number for a lot of scripts used in SuSe.
+
+ at DPATCH@
+--- insserv-1.08.0.orig/insserv.c
++++ insserv-1.08.0/insserv.c
+@@ -1832,6 +1832,7 @@
+ 	    continue;
+ 	}
+ 
++#ifdef SUSE
+ 	/* Common script for single mode */
+ 	if (!strcmp(d->d_name, "single")) {
+ 	    serv_t *serv = addserv("single");
+@@ -1842,6 +1843,7 @@
+ 	    rememberreq(serv, REQ_SHLD, "kbd");
+ 	    continue;
+ 	}
++#endif /* SUSE */
+ 
+ 	/*
+ 	 * Oops, no comment found, guess one
+@@ -2176,6 +2178,7 @@
+ 
+     expand_conf();
+ 
++#ifdef SUSE
+     /*
+      *  Set initial order of some services
+      */
+@@ -2187,6 +2190,7 @@
+     setorder("serial",	10, false); setlsb("serial");
+     setorder("gpm",	20, false); setlsb("gpm");
+     setorder("boot.setup", 20, false);
++#endif /* SUSE */
+ 
+     /*
+      * Set virtual dependencies for already enabled none LSB scripts.

Propchange: trunk/src/insserv/debian/patches/40_nosusescript.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the Initscripts-ng-commits mailing list