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

Re: Installing init.d scripts



OoO Pendant le journal télévisé du lundi 02 juin 2008, vers 20:01, 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:

If you rename XXXXXXXX.init.d to init.d, what happens? Do you use --name
parameter  of  dh_installinit?  If  not, dh_installinit  tries  to  find
"init.d"  or "package.init.d". Underscore  is not  allowed in  a package
name.
-- 
 /*
  * Hash table gook..
  */
	2.4.0-test2 /usr/src/linux/fs/buffer.c

Attachment: pgpKlBTmCH6lh.pgp
Description: PGP signature


Reply to: