[Build-common-hackers] Bug#386970: cdbs: dh_installinit called too early (before dh_python)

Pierre Habouzit madcoder at debian.org
Wed Sep 5 19:08:50 UTC 2007


On Wed, Sep 05, 2007 at 04:48:40PM +0000, Peter Eisentraut wrote:
> I read that debhelper level 6 will call the removal scripts in the 
> opposite order of the install scripts.  It has been mentioned that this 
> would address the problem of this bug.  Can someone check if that works 
> and what the right order of dh_installinit vs. dh_python would have to 
> be then?

  well in the postinst, byte compilation must be done _before_ the
service is started, and in the prerm service must be stopped before the
byte compilation results are purged.

  So if the order of dh_* scripts is the order in which they extend the
postinst (which is the order that makes sense to me at least) then
dh_python must come before.

-- 
·O·  Pierre Habouzit
··O                                                madcoder at debian.org
OOO                                                http://www.madism.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/build-common-hackers/attachments/20070905/947bc81d/attachment.pgp 


More information about the Build-common-hackers mailing list