OoO Pendant  le repas du lundi  02 juin 2008, vers  19:41, David Paleino
<[EMAIL PROTECTED]> disait:

> Hi all,
> I'm packaging dkms [1] (ITP #481590), and it needs to install a script into
> init.d.
> I have a ./debian/dkms_autoinstaller.init, which should be placed
> in /etc/init.d/ by dh_installinit. And it does its job. But dh_installinit
> manpage also states:

>        It also automatically generates the postinst and postrm and prerm
>        commands needed to set up the symlinks in /etc/rc*.d/ and to start and
>        stop the init scripts.

> This is not actually true, at least in my case. And this is why I'm asking for
> help here.

> After a "debuild", lintian warns:

> W: dkms:
> script-in-etc-init.d-not-registered-via-update-rc.d 
> /etc/init.d/dkms_autoinstaller
> N:
> N:   The package installs an /etc/init.d script which is not registered in
> N:   the postinst script. This is usually a bug, unless you omit the links
> N:   intentionally for some reason or create the links some other way.
> N:

> I supposed dh_installinit did that!
> So, I tried grabbing clean postinst and postrm
> from /usr/share/debhelper/dh_make/debian/, and left only the #DEBHELPER#. This
> didn't work either.

Look at  debian/XXXXX/DEBIAN/postinst after dpkg-buildpackage  to see if
something is missing.
-- 
I NO LONGER WANT MY MTV
I NO LONGER WANT MY MTV
I NO LONGER WANT MY MTV
-+- Bart Simpson on chalkboard in episode 3G02

Attachment: pgpZEVQmCadCZ.pgp
Description: PGP signature

Reply via email to