On Thu, May 23, 2013 at 03:53:28PM +0100, Colin Watson wrote:
> 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}) {

The file-rc bug in question is now fixed, at version 0.8.16, so it
should be safe to apply this patch with that modification.

Thanks,

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


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

Reply via email to