[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2] tools: Improve make deb
On Tue, 26 Feb 2013, Ian Campbell wrote: > On Tue, 2013-02-26 at 12:58 +0000, Stefano Stabellini wrote: > > > +cat >deb/DEBIAN/postrm <<EOF > > > +#!/bin/bash -e > > > +insserv -r xendomains && > > > +insserv -r xencommons > [...] > > All the changes look good to me > > This one certainly isn't, calling insserv directly in a pre/post inst is > not the correct Debian interface to use. > > Better to call update-rc.d I think, or use dh_installinit (and grow a > build time dependency on debhelper). I am _very_ ignorant in deb packaging, but this wiki http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot states: "In Debian releases prior to 6.0, a service could be added with update-rc.d: update-rc.d mydaemon defaults Starting with Debian 6.0, the insserv command is used instead, if dependency-based booting is enabled: insserv mydaemon" but maybe this is the recommended thing to do for sysadmins, not for packagers? _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |