Package: debhelper
Version: 9.20130518
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch saucy
Control: block -1 by 709481

Hi,

Thorsten Glaser pointed out to me this morning that forwarding Ubuntu's
backlog of Upstart jobs to Debian will cause a bunch of packages to be
incompatible with file-rc.  Now, I don't know how long file-rc is
sticking around, but it doesn't seem right for Upstart jobs to be the
thing that force it out, so I think we should fix this.

I sent a patch to the file-rc maintainers as #709481 which brings their
invoke-rc.d up to date with the upstart support in sysv-rc.  Once that's
applied, I think the following patch should be applied to debhelper,
although you'll need to adjust it to match whatever version they choose.

diff --git a/dh_installinit b/dh_installinit
index 3260866..ef000c4 100755
--- a/dh_installinit
+++ b/dh_installinit
@@ -228,7 +228,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
        if ($job ne '' || ($dh{ONLYSCRIPTS} && -e 
"$tmp/etc/init/$jobfile.conf")) {
                # minimal version of invoke-rc.d that supports upstart jobs
                # directly
-               addsubstvar($package, "misc:Depends", "sysv-rc (>= 
2.88dsf-24)");
+               addsubstvar($package, "misc:Depends", "sysv-rc (>= 2.88dsf-24) 
| file-rc (>= 0.8.15+nmu1)");
        }
 
        if ($init ne '' && ! $dh{ONLYSCRIPTS}) {

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to