X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dev.git/blobdiff_plain/3b089a2a3c574bebb10332381c74a7f0299fe11b..0c857359c16cba2d7da62e7db7a75df92f265281:/debian/rules?ds=sidebyside diff --git a/debian/rules b/debian/rules index d529eb7..09190f6 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,12 @@ #!/usr/bin/make -f +%: + dh $@ --with python2 - - -include /usr/share/cdbs/1/rules/debhelper.mk +# We use --no-start instead of letting dh_installinit do its thing +# because, in the postinst, dh_installinit's automatically added code +# runs before dh_pysupport's automatically added code. +# +# This means that when the initscript is started, Python modules +# installed by the package haven't been fully installed yet. +override_dh_installinit: + dh_installinit --no-start --name invirtibuilder