From 0ed44de3afa63c296040bcf7302bac35b8cafc21 Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Mon, 9 Jul 2012 16:08:22 -0400 Subject: Get the debian package building working again. Also, remove the pre-processing of debian/rules. instead use an environment variable. To build with sysvinit: $ INIT_SYSTEM=sysvinit ./packages/bddeb Note, debuild does complain with several errors on sysvinit building at the moment. Primarily about package installing into /etc/init.d. --- packages/debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/debian/rules') diff --git a/packages/debian/rules b/packages/debian/rules index 87cd6538..7623ac9d 100755 --- a/packages/debian/rules +++ b/packages/debian/rules @@ -1,13 +1,14 @@ #!/usr/bin/make -f DEB_PYTHON2_MODULE_PACKAGES = cloud-init +INIT_SYSTEM ?= upstart binary-install/cloud-init::cloud-init-fixups include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/python-distutils.mk -DEB_PYTHON_INSTALL_ARGS_ALL += --init-system={{init_sys}} +DEB_PYTHON_INSTALL_ARGS_ALL += --init-system=$(INIT_SYSTEM) DEB_DH_INSTALL_SOURCEDIR := debian/tmp -- cgit v1.2.3