[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing init.d scripts



On Mon, 02 Jun 2008 19:54:47 +0200, Vincent Bernat wrote:

> OoO Pendant  le repas du lundi  02 juin 2008, vers  19:41, David Paleino
> <d.paleino@gmail.com> disait:
> 
> > 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.

Forgot to mention that, sorry (I already did this check before).
The postinst in the control directory only contains the "manually added"
update-rc.d call, while in place of #DEBHELPER# I can only see a blank line:

$ tail DEBIAN/postinst 
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac



exit 0
$

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature


Reply to: