X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dev.git/blobdiff_plain/c26b08a9d7a315c88604ef88d66992b5392bcbc5..727191c36d0b5f1cc29cbd99ea21b558ba3bfd31:/debian/rules diff --git a/debian/rules b/debian/rules index ef4b266..4bde507 100755 --- a/debian/rules +++ b/debian/rules @@ -2,6 +2,14 @@ DEB_PYTHON_SYSTEM=pysupport +# 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. +DEB_DH_INSTALLINIT_ARGS += --no-start + include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk