[debhelper-devel] [debhelper] 01/02: dh_installinit: Document a caveat in compat 10 and earlier

Niels Thykier nthykier at moszumanska.debian.org
Mon Apr 10 10:22:53 UTC 2017


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

nthykier pushed a commit to branch master
in repository debhelper.

commit 57147271f66bb96631f38acf1364c7dc3a6cc561
Author: Niels Thykier <niels at thykier.net>
Date:   Mon Apr 10 09:44:53 2017 +0000

    dh_installinit: Document a caveat in compat 10 and earlier
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 debian/changelog | 3 +++
 dh_installinit   | 6 ++++++
 2 files changed, 9 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f9f5d89..bb4f800 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -19,6 +19,9 @@ debhelper (10.3) UNRELEASED; urgency=medium
   * dh: Run dh_missing by default (in no op mode).
   * dh_prep: Clean up generated files so they work like other temporary
     debhelper files.
+  * dh_installinit: Clarify that it might make sense to skip dh_installinit
+    for a package if it provides a systemd service but no sysvinit file.
+    (Closes: #800043)
 
   [ Steven Chamberlain ]
   * When cross-compiling for GNU/kFreeBSD host systems, set
diff --git a/dh_installinit b/dh_installinit
index ba7bdc4..752ad26 100755
--- a/dh_installinit
+++ b/dh_installinit
@@ -25,6 +25,12 @@ It also automatically generates the F<postinst> and F<postrm> and F<prerm>
 commands needed to set up the symlinks in F</etc/rc*.d/> to start and stop
 the init scripts.
 
+In compat 10 or earlier: If a package only ships a systemd service
+file and no sysvinit script is provided, you may want to exclude the
+call to dh_installinit for that package (e.g. via B<-N>).  Otherwise,
+you may get warnings from lintian about init.d scripts not being
+included in the package.
+
 =head1 FILES
 
 =over 4

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




More information about the debhelper-devel mailing list