X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dev.git/blobdiff_plain/90dbf631b3e901a57314ff5d3a299ee5450457ff..861aad093bf6adbe3a2b14c97806d43a11722614:/debian/rules diff --git a/debian/rules b/debian/rules index ef4b266..5d6bbae 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,14 @@ #!/usr/bin/make -f -DEB_PYTHON_SYSTEM=pysupport +DEB_PYTHON2_MODULE_PACKAGES = invirt-dev + +# 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 --name invirtibuilder include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk