[Reproducible-commits] [debhelper] 51/56: dh_installinit: Document that --onlyscripts should be used with -p

Mattia Rizzolo mattia at mapreri.org
Sun Oct 4 17:06:21 UTC 2015


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

mapreri-guest pushed a commit to branch master
in repository debhelper.

commit 9fcfbf8908255a4afe808563710d050496112f2a
Author: Niels Thykier <niels at thykier.net>
Date:   Fri Oct 2 14:26:36 2015 +0200

    dh_installinit: Document that --onlyscripts should be used with -p
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 debian/changelog | 3 +++
 dh_installinit   | 9 +++++++++
 2 files changed, 12 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1e34cc1..4aa7ead 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -74,6 +74,9 @@ debhelper (9.20150811+unreleased) UNRELEASED; urgency=medium
   * dh_movefiles: Expand globs in arguments passed in all
     compat levels (and not just compat 1 and 2).
     (Closes: #800332)
+  * dh_installinit: Clearly document that --onlyscripts
+    should generally be used with -p (or similar) to limit
+    the number of affected packages.  (Closes: #795193)
 
   [ Paul Tagliamonte ]
   * dh_gencontrol: Put debug debs back in the "debug" section.
diff --git a/dh_installinit b/dh_installinit
index 33c4189..289731a 100755
--- a/dh_installinit
+++ b/dh_installinit
@@ -72,6 +72,15 @@ any init script, default files, upstart job or systemd service file. May be
 useful if the file is shipped and/or installed by upstream in a way that
 doesn't make it easy to let B<dh_installinit> find it.
 
+B<Caveat>: This will bypass all the regular checks and
+I<unconditionally> modify the scripts.  You will almost certainly want
+to use this with B<-p> to limit, which packages are affected by the
+call.  Example:
+
+ override_dh_installinit:
+	dh_installinit -pfoo --onlyscripts
+	dh_installinit --remaining
+
 =item B<-R>, B<--restart-after-upgrade>
 
 Do not stop the init script until after the package upgrade has been

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debhelper.git



More information about the Reproducible-commits mailing list