[maemo-developers] Init script woes
From: Tony Green maemo at beermad.org.ukDate: Fri Feb 1 19:58:42 EET 2008
- Previous message: flashplayer plugin doesn't effect in microb
- Next message: Init script woes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I wonder if anybody can shed any light on a strange (and annoying) problem I'm having persuading dpkg to install init scripts for a package. I have an init script in the right place in my development tree (~/httpd-2.2.8/debian/init.d), hd_installinit is un-commented in ~/httpd-2.2.8/debian/rules and when I manually un-pick the .deb file, data.tar.gz correctly contains ./etc/init.d/httpd. But... when I actually install the package, I end up without an init file. The problem appears to be somewhere in the configuration phase, as if I unpack the package, I see /etc/init.d/httpd.dpkg-new but when I then configure the package, it disappears. Running with debug and some tracing suggests that it's being deleted by whatever process runs just before my postinst script is called. This is happening with the latest version of the development environment, but reverting to the OS2007 version, it's also happening there. But the fact that I DID have an init script in place suggests I've somehow managed to get this to work at some stage in my early development work (I forgot to include deletion in the postrm script, so it must have been left there by an earlier attempt.) I'm missing something but I can't work out what it is :-( -- Tony Green Ipswich, Suffolk, England http://www.beermad.org.uk http://no2id-ip.web-brewer.co.uk
- Previous message: flashplayer plugin doesn't effect in microb
- Next message: Init script woes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]